- 17 8月, 2011 6 次提交
-
-
由 Xavier Noria 提交于
-
由 Jon Leighton 提交于
Use lazy load hooks to set parameter wrapping configuration. This means that it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint.
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Jeff Dutil 提交于
Fix formatting of active_record_validations_callbacks.textile so guide will render properly at http://edgeguides.rubyonrails.org/active_record_validations_callbacks.html#displaying-validation-errors-in-the-view
-
- 16 8月, 2011 32 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb. Use config.active_record instead. This yields about a 20% decrease in startup time because it means that the connection is not created immediately on startup. Of course, this is only useful if you are not going to immediately use the database after startup.
-
由 Jon Leighton 提交于
In 1efd8828, ConnectionAdapters was put under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user.
-
由 Santiago Pastorino 提交于
This reverts commit 87152f26, reversing changes made to 0d3615f0.
-
由 Santiago Pastorino 提交于
Remove unused require in activerecord/test/cases/attribute_methods_test.rb
-
由 Vijay Dev 提交于
-
由 Hendy Tanata 提交于
-
由 Jon Leighton 提交于
Fix tzinfo require (it broke test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties)
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Don't refer to ActionController::Base in the wrap_parameters initializer - use config object instead. Cuts about 15% off the load time. (#734)
-
由 Sebastian Martinez 提交于
-
由 Jacob Mattingley 提交于
yield(:unspecified_block) actually returns true even if :unspecified_block never exists. This means you can't use the form yield(:unspecified_block) or yield.
-
由 JESii 提交于
Grammar/syntax/style changes: 1. Changed all 'we' to 'you' 2. Corrected typos 3. Make consistent styline (e.g., dashes & double-dash usage) 4. Change use of future tense (will...) to present tense (easier to read).
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 David Heinemeier Hansson 提交于
-
由 Jon Leighton 提交于
Delegate expl
-
由 Arun Agrawal 提交于
-
由 Jon Leighton 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
Unused variable removed.
-
由 Jon Leighton 提交于
-
由 Arun Agrawal 提交于
-
由 Vijay Dev 提交于
-
- 15 8月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-