aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | rake assets:precompile executes in production environment as default if ↵Santiago Pastorino2011-08-152-11/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RAILS_ENV was not provided
| * | | | | | | Merge pull request #2536 from arunagw/unused_varSantiago Pastorino2011-08-151-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Unused variable removed.
| | * | | | | | | Unused variable removed.Arun Agrawal2011-08-151-4/+4
| | | | | | | | |
| * | | | | | | | Update travis config on @joshk's instructionsJon Leighton2011-08-151-1/+2
| |/ / / / / / /
| * | | | | | | Document Object#public_sendJon Leighton2011-08-152-1/+25
| | | | | | | |
| * | | | | | | Add a test for delegating a method ending in '=' as this is a special case.Jon Leighton2011-08-152-0/+9
| | | | | | | |
| * | | | | | | Ensure empty has_many :through association preloaded via joins is marked as ↵Jon Leighton2011-08-152-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | loaded. Fixes #2054.
| * | | | | | | Merge pull request #2534 from arunagw/public_send_requireJon Leighton2011-08-151-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Need to include public_send
| | * | | | | | | Need to include public_sendArun Agrawal2011-08-151-0/+1
| |/ / / / / / /
| * | | | | | | Split up the definitions in Module#delegate depending on :allow_nil, and ↵Jon Leighton2011-08-152-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 raisesJon Leighton2011-08-152-2/+14
| | | | | | | |
| * | | | | | | Fix private methods which are delegated to. This previously worked because ↵Jon Leighton2011-08-152-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Module#delegate previously ignored method visibility.
| * | | | | | | Just do the method call directly in Module#delegate, if we can (we cannot ↵Jon Leighton2011-08-153-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.
| * | | | | | | Backport Object#public_send to 1.8 so that we can implement Module#delegate ↵Jon Leighton2011-08-153-0/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | such that non-public methods raise
| * | | | | | | Ensure changing RAILS_GROUPS will load the proper dependencies.José Valim2011-08-141-13/+16
| | | | | | | |
| * | | | | | | Merge pull request #2527 from cesario/fix_2511José Valim2011-08-142-3/+8
| |\ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | Methods like status and location are interfering with redirect_to [Closes #2511]
| | * | | | | | Methods like status and location are interfering with redirect_to [Closes #2511]Franck Verrot2011-08-142-3/+8
| |/ / / / / /
| * | | | | | Merge branch 'master' of github.com:lifo/docrailsXavier Noria2011-08-1324-144/+513
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile
| * \ \ \ \ \ \ Merge pull request #2519 from vijaydev/readme_fixesXavier Noria2011-08-132-3/+3
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fixes the README links in README.rdoc on GitHub
| | * | | | | | | Fixes readme links better - earlier links broke when the current page is ↵Vijay Dev2011-08-132-3/+3
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | anything other than github.com/rails/rails/. Even github.com/rails/rails (without the trailing slash) broke the readme links. Also change the rakefile that generates the rdoc readme accordingly
| * | | | | | | Perf: don't mess around with thread local vars unless we actually need toJon Leighton2011-08-131-18/+23
| | | | | | | |
| * | | | | | | Fix default scope thread safety. Thanks @thedarkone for reporting.Jon Leighton2011-08-133-15/+53
| | | | | | | |
| * | | | | | | Merge pull request #2514 from myronmarston/fix_active_record_observer_disablingJosé Valim2011-08-134-3/+27
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Allow ActiveRecord observers to be disabled.
| | * | | | | | | Allow ActiveRecord observers to be disabled.Myron Marston2011-08-124-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | We have to use Observer#update rather than Observer#send since the enabled state is checked in #update before forwarding the method call on.
| * | | | | | | | Work around for lolruby bug. (Read on for explanation.)Jon Leighton2011-08-132-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were experiencing CI test failures, for example: * 3-1-stable: http://travis-ci.org/#!/rails/rails/builds/79473/L407 * master: http://travis-ci.org/#!/rails/rails/builds/79507/L80 These failures only happened on 1.8.7-p352, and we were only able to reproduce on the Travis CI VM worker. We even tried creating a new 32 bit Ubuntu VM and running the tests on that, and it all worked fine. After some epic trial and error, we discovered that replacing the following: fuu = Marshal.load(Marshal.dump(fuu)) with: marshalled = Marshal.dump(fuu) fuu = Marshal.load(marshalled) seemed to prevent the failure. We have NO IDEA why this is. If anyone has some great insight to contribute then that is welcome. Otherwise, hopefully this will just help us get the CI green again. Many thanks to @joshk for help with sorting this out.
| * | | | | | | | Merge pull request #2516 from arunagw/path_set_fixJon Leighton2011-08-131-0/+4
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | We need [] method here. previously it's an array.
| | * | | | | | | We need [] method here. previously it's an array.Arun Agrawal2011-08-131-0/+4
| |/ / / / / / /
| * | | | | | | moving test_generate to an integration test with one assert per testAaron Patterson2011-08-122-108/+183
| | | | | | | |
| * | | | | | | Merge pull request #2503 from arunagw/cant_dup_on_nilAaron Patterson2011-08-121-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | We cannot dup on nil.
| | * | | | | | | We actually don't need a reverse_merge! here. dup removed was giving error ↵Arun Agrawal2011-08-121-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | with nil class.
| * | | | | | | Merge pull request #2497 from akaspick/url_for_fixSantiago Pastorino2011-08-112-1/+13
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | When calling url_for with a hash, additional (likely unwanted) values (such as :host) would be returned in the hash
| | * | | | | | | when calling url_for with a hash, additional (likely unwanted) values (such ↵Andrew Kaspick2011-08-112-1/+13
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | as :host) would be returned in the hash... calling #dup on the hash prevents this
| * | | | | | | Merge pull request #2489 from grzuy/masterSantiago Pastorino2011-08-111-4/+4
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Remove parameters_for_url from form_tag method header
| | * | | | | | | Remove 'parameters_for_url' parameter from 'form_tag' method signatureGonzalo Rodriguez and Leonardo Capillera2011-08-101-4/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you use that parameter it will end calling to url_for with two arguments, which fails because url_for expects only one
| * | | | | | | add the gem requirement for sqlite3Aaron Patterson2011-08-101-0/+2
| | | | | | | |
| * | | | | | | Remove lame comment.José Valim2011-08-091-1/+0
| | | | | | | |
| * | | | | | | rake assets:precompile defaults to production envSantiago Pastorino2011-08-091-0/+1
| | | | | | | |
| * | | | | | | adding missing require to fist railties testsAaron Patterson2011-08-091-0/+2
| | | | | | | |
| * | | | | | | Okay, the new incompatible arel is now called 2.2 and the sun shines upon ↵Jon Leighton2011-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thee once more
| * | | | | | | Merge pull request #2465 from pivotal-casebook/patch-3Aaron Patterson2011-08-091-0/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Further monkey-patching to avoid deprecation warnings
| | * | | | | | | Further monkey-patching to avoid deprecation warningsPivotal Casebook2011-08-081-0/+2
| | | | | | | | |
| * | | | | | | | deprecating process_view_pathsAaron Patterson2011-08-095-4/+6
| | | | | | | | |
| * | | | | | | | avoid object creation via useless duping and freezingAaron Patterson2011-08-091-3/+2
| | | | | | | | |
| * | | | | | | | just use map and case / when rather than modifying the iterating arrayAaron Patterson2011-08-091-5/+8
| | | | | | | | |
| * | | | | | | | only typecast what we need to typecastAaron Patterson2011-08-091-11/+9
| | | | | | | | |
| * | | | | | | | Favor composition over inheritance.Aaron Patterson2011-08-091-6/+48
| | | | | | | | |
| * | | | | | | | Array#+ automatically dups, no double dupingAaron Patterson2011-08-091-2/+2
| | | | | | | | |
| * | | | | | | | Just remove the sort_locals methodAaron Patterson2011-08-091-12/+1
| | | | | | | | |
| * | | | | | | | the freeze trick does nothing on arrays used as hash keys.Aaron Patterson2011-08-091-2/+1
| | | | | | | | |
| * | | | | | | | use functional style to build a list of template objectsAaron Patterson2011-08-091-9/+12
| | | | | | | | |