mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-17 05:39:59 +01:00
* Configurations update for rails 4.0 * ActiveSupport::Testing::Performance extracted to a gem * ruby prof required as a dependency * disable rubocop on bin folder * http patch * Comment out to allow testing * no longer supports plugin loading * lock to sprockets 2.12 * Active record patches * remove deprecated test syntax * fix failing tests * change new super class * replace right_aws with right_aws_api right_aws is no longer maintained, was throwing an error * Change test lib to minitest, add minitest reporters * lock to rails 4.2.11.1 * change rails version in install script * remove deprecation warnings * make app work * active record find patches * root_in_json include defaulted to false * confirm option removed in link helper * cookies serializer changed to hybrid * Change render :text to :plain render :text will be deprecated and poses a security risk * console for dev web * Check and fix interface functionality * fix export functionality * add protected attributes for the warpable model * fix image upload * Fix comments and images failing tests * include mass assignment security in annotations * render html for update images * clear mail array before every test * Fix codeclimate issues * skip failing test The test is failing because of different names in model(warpable) and controller(images) skipping this for now until we decide if we want to standardize the names * replace unprotected redirects * fix fa icons * fix login functionality * precompile images * fix codeclimate issues * Fix oauth icons
15 lines
517 B
Ruby
15 lines
517 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
# This file contains settings for ActionController::ParamsWrapper which
|
|
# is enabled by default.
|
|
|
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
ActiveSupport.on_load(:action_controller) do
|
|
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
|
end
|
|
|
|
# Disable root element in JSON for ActiveRecord objects.
|
|
# ActiveSupport.on_load(:active_record) do
|
|
# self.include_root_in_json = false
|
|
# end
|