Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Merge pull request #58 from cameel/fix-set_autoload_path-typo | Kamil Śliwak | 2011-08-14 | 1 | -1/+1 | |
| |\ | | | | | | | Fix a typo in 'Configuring Rails Applications' guide | |||||
| | * | Fix a typo in 'Configuring Rails Applications' guide | Kamil Śliwak | 2011-08-15 | 1 | -1/+1 | |
| |/ | | | | | - The initializer is called `set_autoload_paths`, not `set_autoload_path`. See https://github.com/rails/rails/blob/master/railties/lib/rails/engine.rb#L506 | |||||
| * | Typo | Raul Murciano | 2011-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | Action Mailer guide: mention how to use :cc and :bcc parameters. | Raul Murciano | 2011-08-14 | 1 | -0/+2 | |
| | | ||||||
| * | Action Mailer guide update: the :to parameter now supports both String and ↵ | Raul Murciano | 2011-08-14 | 1 | -2/+2 | |
| | | | | | | | | Array values to indicate recipients. | |||||
| * | rephrase how the verbose methods in a migration work | Vijay Dev | 2011-08-14 | 1 | -3/+3 | |
| | | ||||||
| * | document alias for rails runner | Vijay Dev | 2011-08-14 | 1 | -1/+2 | |
| | | ||||||
| * | added a few more items in the release notes | Vijay Dev | 2011-08-14 | 1 | -2/+8 | |
| | | ||||||
| * | fix misleading comment (originally made by Tate Johnson, we lost this commit ↵ | Vijay Dev | 2011-08-14 | 1 | -1/+1 | |
| | | | | | | | | while porting to the rails repo) | |||||
| * | Active Model instead of ActiveModel. | Hendy Tanata | 2011-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | Use fixed-width font where necessary. | Hendy Tanata | 2011-08-14 | 1 | -12/+12 | |
| | | ||||||
| * | Fix tt tag appearing on 3_1_release_notes guide. | Hendy Tanata | 2011-08-14 | 1 | -1/+1 | |
| | | ||||||
* | | prefer ends_with? over slicing | Xavier Noria | 2011-08-16 | 1 | -1/+2 | |
| | | ||||||
* | | AS guide: document in Module#delegate that the method must be public in the ↵ | Xavier Noria | 2011-08-16 | 1 | -1/+3 | |
| | | | | | | | | target | |||||
* | | Fix assets tests in railties | Jon Leighton | 2011-08-16 | 2 | -5/+7 | |
| | | ||||||
* | | Don't reference ActiveRecord::Base in initializers/wrap_parameters.rb. Use ↵ | Jon Leighton | 2011-08-16 | 1 | -5/+7 | |
| | | | | | | | | 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. | |||||
* | | In 1efd88283ef68d912df215125951a87526768a51, ConnectionAdapters was put ↵ | Jon Leighton | 2011-08-16 | 3 | -14/+26 | |
| | | | | | | | | 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. | |||||
* | | Revert "Merge pull request #2543 from htanata/unused_require_in_ar_test" | Santiago Pastorino | 2011-08-16 | 1 | -0/+1 | |
| | | | | | | | | | | This reverts commit 87152f2604e73b218df90befda576f0acfed0bbf, reversing changes made to 0d3615f04c79f6e90d8ab33fdfc920b8faac9cb8. | |||||
* | | Merge pull request #2543 from htanata/unused_require_in_ar_test | Santiago Pastorino | 2011-08-16 | 1 | -1/+0 | |
|\ \ | | | | | | | Remove unused require in activerecord/test/cases/attribute_methods_test.rb | |||||
| * | | Remove unused require. | Hendy Tanata | 2011-08-16 | 1 | -1/+0 | |
|/ / | ||||||
* | | Fix tzinfo require (it broke ↵ | Jon Leighton | 2011-08-16 | 1 | -6/+13 | |
| | | | | | | | | test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties) | |||||
* | | Fix wrap_parameters initializer template | Jon Leighton | 2011-08-16 | 1 | -1/+1 | |
| | | ||||||
* | | Be more lazy about creating time zone objects. Decreases startup time by ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+13 | |
| | | | | | | | | about 10%. (#734) | |||||
* | | Don't refer to ActionController::Base in the wrap_parameters initializer - ↵ | Jon Leighton | 2011-08-16 | 3 | -1/+10 | |
| | | | | | | | | use config object instead. Cuts about 15% off the load time. (#734) | |||||
* | | Bump arel dependency | Jon Leighton | 2011-08-15 | 1 | -1/+1 | |
| | | ||||||
* | | Use new SelectManager#source method | Jon Leighton | 2011-08-15 | 2 | -2/+2 | |
| | | ||||||
* | | Use new SelectManager#projections= method | Jon Leighton | 2011-08-15 | 3 | -4/+4 | |
| | | ||||||
* | | use update.key instead of update.ast.key. make better use of select manager. | Jon Leighton | 2011-08-15 | 3 | -26/+18 | |
| | | ||||||
* | | Use a SelectCore rather than a full SelectManager | Jon Leighton | 2011-08-15 | 2 | -4/+6 | |
| | | ||||||
* | | Refactor building the update manager | Jon Leighton | 2011-08-15 | 4 | -16/+13 | |
| | | ||||||
* | | Support for multi-table updates with limits, offsets and orders | Jon Leighton | 2011-08-15 | 4 | -2/+77 | |
| | | ||||||
* | | Support updates with joins. Fixes #522. | Jon Leighton | 2011-08-15 | 5 | -4/+34 | |
| | | ||||||
* | | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 4 | -0/+20 | |
| | | | | | | | | alias for Array#<< [DHH] | |||||
* | | Merge pull request #2539 from arunagw/delegate_expl | Jon Leighton | 2011-08-15 | 3 | -2/+2 | |
|\ \ | | | | | | | Delegate expl | |||||
| * | | Requiring delegate. | Arun Agrawal | 2011-08-16 | 2 | -0/+2 | |
| | | | ||||||
| * | | Removing unnecessary require, solve 'circular require considered harmful' ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+0 | |
|/ / | | | | | | | warning. | |||||
* | | Fix typo | Santiago Pastorino | 2011-08-15 | 1 | -1/+1 | |
| | | ||||||
* | | rake assets:precompile executes in production environment as default if ↵ | Santiago Pastorino | 2011-08-15 | 2 | -11/+23 | |
| | | | | | | | | RAILS_ENV was not provided | |||||
* | | Merge pull request #2536 from arunagw/unused_var | Santiago Pastorino | 2011-08-15 | 1 | -4/+4 | |
|\ \ | | | | | | | Unused variable removed. | |||||
| * | | Unused variable removed. | Arun Agrawal | 2011-08-15 | 1 | -4/+4 | |
| | | | ||||||
* | | | Update travis config on @joshk's instructions | Jon Leighton | 2011-08-15 | 1 | -1/+2 | |
|/ / | ||||||
* | | Document Object#public_send | Jon Leighton | 2011-08-15 | 2 | -1/+25 | |
| | | ||||||
* | | Add a test for delegating a method ending in '=' as this is a special case. | Jon Leighton | 2011-08-15 | 2 | -0/+9 | |
| | | ||||||
* | | Ensure empty has_many :through association preloaded via joins is marked as ↵ | Jon Leighton | 2011-08-15 | 2 | -3/+10 | |
| | | | | | | | | loaded. Fixes #2054. | |||||
* | | Merge pull request #2534 from arunagw/public_send_require | Jon Leighton | 2011-08-15 | 1 | -0/+1 | |
|\ \ | | | | | | | Need to include public_send | |||||
| * | | Need to include public_send | Arun Agrawal | 2011-08-15 | 1 | -0/+1 | |
|/ / | ||||||
* | | Split up the definitions in Module#delegate depending on :allow_nil, and ↵ | Jon Leighton | 2011-08-15 | 2 | -17/+34 | |
| | | | | | | | | don't use exceptions for flow control in the :allow_nil => true case. | |||||
* | | Fix the line number in the backtrace when Module#delegate raises | Jon Leighton | 2011-08-15 | 2 | -2/+14 | |
| | | ||||||
* | | Fix private methods which are delegated to. This previously worked because ↵ | Jon Leighton | 2011-08-15 | 2 | -13/+13 | |
| | | | | | | | | Module#delegate previously ignored method visibility. | |||||
* | | Just do the method call directly in Module#delegate, if we can (we cannot ↵ | Jon Leighton | 2011-08-15 | 3 | -4/+27 | |
| | | | | | | | | for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods. |