- 09 11月, 2012 1 次提交
-
-
由 Andrew White 提交于
Most apps upgrading from 3.x will have options for mass assigment in their application.rb and environments/*.rb config files. Rather than just raising a NoMethodError when copying the config, this commit adds a warning message until either the protected_attributes gem is installed or the relevant config options are removed.
-
- 26 10月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
In the end I think the pain of implementing this seamlessly was not worth the gain provided. The intention was that it would allow plain ruby objects that might not live in your main application to be subclassed and have persistence mixed in. But I've decided that the benefit of doing that is not worth the amount of complexity that the implementation introduced.
-
- 08 10月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 24 9月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 22 9月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 09 9月, 2012 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 22 8月, 2012 1 次提交
-
-
由 José Valim 提交于
The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly.
-
- 01 8月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 16 6月, 2012 4 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Get rid of ActiveModel::Configuration, make better use of ActiveSupport::Concern + class_attribute, etc.
-
由 Jon Leighton 提交于
-
- 10 6月, 2012 1 次提交
-
-
由 schneems 提交于
can be configured by setting config.active_record.migration. Setting to :page_load will raise an error on each page refresh if there are migrations that are pending. Setting to :page_load is defaulted in development for new applications.
-
- 29 5月, 2012 2 次提交
- 27 4月, 2012 1 次提交
-
-
由 José Valim 提交于
Active Record should be lazy loaded and this pull request forced Active Record to always be loaded after initialization. This reverts commit 8cd14c0b, reversing changes made to 2f0c8c52.
-
- 26 4月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 04 4月, 2012 2 次提交
-
-
由 Tim Pope 提交于
-
由 Aaron Patterson 提交于
-
- 14 3月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 01 3月, 2012 2 次提交
- 21 1月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Karunakar (Ruby) 提交于
minor
-
- 29 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 16 12月, 2011 1 次提交
-
-
由 José Valim 提交于
Clean up the cache before the request in case we are running in the reload_classes_only_on_change schema.
-
- 13 12月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
This can be turned off by setting `config.reload_classes_only_on_change` to false. Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading. Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
-
- 02 12月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 25 5月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 04 5月, 2011 2 次提交
-
-
由 José Valim 提交于
Move sandbox to AR and pass the sandbox as a value. This way, other ORMs like Datamapper can also have their own sandboxing in rails console.
-
由 José Valim 提交于
-
- 24 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
added config.active_record.whitelist_attributes which creates an empty whitelist of attributes available for mass assignment for all models in your app
-
- 04 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 12月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 John Firebaugh 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 20 11月, 2010 2 次提交
-
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-