upgraded to rails 3.1.0.rc1

This commit is contained in:
albert
2011-05-24 18:04:25 -04:00
parent 5a668457d2
commit 1c964b5189
11 changed files with 152 additions and 117 deletions

View File

@@ -0,0 +1,12 @@
# Be sure to restart your server when you modify this file.
#
# This file contains the settings for ActionController::ParametersWrapper
# which will be enabled by default in the upcoming version of Ruby on Rails.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActionController::Base.wrap_parameters format: [:json]
# Disable root element in JSON by default.
if defined?(ActiveRecord)
ActiveRecord::Base.include_root_in_json = false
end