Sha256: 9763f95c5efc9c19e36082654a763953a6412a3985e69f3c594d88e1f82c2448

Contents?: true

Size: 679 Bytes

Versions: 298

Compression:

Stored size: 679 Bytes

Contents

# These settings change the behavior of Rails 2 apps and will be defaults
# for Rails 3. You can remove this initializer when Rails 3 is released.

# Include Active Record class name as root for JSON serialized output.
ActiveRecord::Base.include_root_in_json = true

# Store the full class name (including module namespace) in STI type column.
ActiveRecord::Base.store_full_sti_class = true

# Use ISO 8601 format for JSON serialized times and dates.
ActiveSupport.use_standard_json_time_format = true

# Don't escape HTML entities in JSON, leave that for the #json_escape helper.
# if you're including raw json in an HTML page.
ActiveSupport.escape_html_entities_in_json = false

Version data entries

298 entries across 263 versions & 52 rubygems

Version Path
warbler-1.4.10 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.2 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.1 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.rc3 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.rc2 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.rc1 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.pre3 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.pre2 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-1.4.9 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-1.4.8 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-2.0.0.pre1 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-1.4.7 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-1.4.6 spec/sample_war/config/initializers/new_rails_defaults.rb
warbler-1.4.5 spec/sample_war/config/initializers/new_rails_defaults.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb
apl-library-0.0.90 vendor/bundle/ruby/1.9.1/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb
apl-library-0.0.90 vendor/bundle/ruby/2.1.0/gems/apl-library-0.0.90/vendor/bundle/ruby/2.1.0/gems/shoulda-2.11.3/test/rails2_root/config/initializers/new_rails_defaults.rb
Flamefork-shoulda-2.10.1 test/rails_root/config/initializers/new_rails_defaults.rb