Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | Return processing lock to dispatcher, the finer grained lock was ↵ | Aliaksey Kandratsenka | 2008-10-04 | 2 | -9/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incompatible with the reloading in development mode. This commit also adds ActionController::Dispatcher#dispatch_unlocking -- non-locking version of dispatch. It's named anologously to POSIX {getc,getchar,...}_unlocked functions. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1170 state:committed] | |||||
| | * | Fix performance bug in AttibuteMethods#respond_to? in handling of private ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | methods We have hit dramatic increase in tests time after upgrading rails. Profiling revealed this particular place. After this fix our test times returned back to norm. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1173 state:committed] | |||||
| | * | call clear_active_connections! in :after_dispatch to give pooled connections ↵ | Aliaksey Kandratsenka | 2008-10-04 | 2 | -1/+17 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | back This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick). integration.rb changes are required to keep test transaction active for several requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1171 state:committed] | |||||
| | * | made ConnectionPool#checkout more robust by trying to loot dead threads when ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | pool is empty Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1169 state:committed] | |||||
| | * | Fix race in ConnectionPool#checkout | Aliaksey Kandratsenka | 2008-10-04 | 1 | -15/+14 | |
| | | | | | | | | | | | | | | | | | | | | | After releasing monitor some connection(s) may appear in pool before monitor is re-aquired. When this happens we'll wait for connection which is already available. Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | don't quote decimal values for mysql. It doesn't make sense and breaks in ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | newer versions of mysql Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1168 state:committed] | |||||
| | * | Fixed load path for actionmailer and activesupport tests to always load from ↵ | madlep | 2008-10-04 | 2 | -1/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| | * | Add IMB DB support to Rails application generator. [#1136 state:resolved] | Antonio Cangiano | 2008-10-04 | 2 | -1/+63 | |
| | | | | | | | | | | | | | | | | | | Usage : rails app_name -d ibm_db Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| | * | Make sure recreate MySQL test database with the proper encoding and ↵ | Luca Guidi | 2008-10-03 | 3 | -3/+8 | |
| | | | | | | | | | | | | | | | | | | | | | collation [#1165 state:resolved] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1165 state:committed] | |||||
| | * | Remove AS for oracle compatibility | Michael Koziarski | 2008-10-03 | 1 | -1/+1 | |
| | | | ||||||
| | * | added nicer failure reporting to #assert_difference to tell you the ↵ | madlep | 2008-10-03 | 2 | -4/+25 | |
| | | | | | | | | | | | | | | | | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed] | |||||
| | * | Provide alternate implementation of Object#subclasses_of for JRuby | Nick Sieger | 2008-10-03 | 1 | -12/+33 | |
| | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed] | |||||
| | * | Dynamic finders should use the ActiveRecord::Base::find method instead of ↵ | Eloy Duran | 2008-10-03 | 3 | -13/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ::find_initial, :find_last, and ::find_all. This is so when people override ActiveRecord::Base::find, the new ::find method will also be invoked by the dynamic finders. Associations for instance do go through ::find, so this makes it more consistent. Also removed the unnecessary deprecation silence blocks. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1162 state:committed] | |||||
| | * | Call controller_path instance method so it can be easily overridden [#1141 ↵ | David Masover | 2008-09-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
| | * | Fix etag! and last_modified! to work as advertised. | Michael Koziarski | 2008-09-30 | 2 | -3/+44 | |
| | | | | | | | | | | | | Add tests too. | |||||
| | * | Remove unneeded interning. | Michael Koziarski | 2008-09-30 | 1 | -3/+2 | |
| | | | ||||||
| | * | fix eager loading's :condition sanitizing expanding against the wrong table | Will Bryant | 2008-09-29 | 1 | -5/+5 | |
| | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | wrote a test showing eager loading's misbehavior (sanitizing against the ↵ | Will Bryant | 2008-09-29 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | wrong table) when the association has a :conditions hash Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | Add options to field_set_tag | Andrew Kaspick | 2008-09-29 | 2 | -2/+14 | |
| | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1116 state:committed] | |||||
| | * | Protect body ivar from being clobbered by the mailer template assigns | Joshua Peek | 2008-09-28 | 4 | -2/+19 | |
| | | | ||||||
| * | | Additional detail on specifying verbs for resource member and collection routes. | Mike Gunderloy | 2008-10-04 | 1 | -2/+15 | |
| | | | ||||||
| * | | Additional detail on options for rendering partials. | Mike Gunderloy | 2008-10-04 | 1 | -1/+27 | |
| | | | ||||||
| * | | Revise associations guide: no need to set default on counter_cache columns. | Mike Gunderloy | 2008-10-04 | 1 | -2/+0 | |
| | | | ||||||
| * | | Remove erroneous warning about counter_cache column defaults. | Mike Gunderloy | 2008-10-04 | 1 | -2/+0 | |
| | | | ||||||
| * | | Fix typography and punctuation in ActiveRecord#find_by_sql | Chris Kampmeier | 2008-10-04 | 1 | -3/+3 | |
| | | | ||||||
* | | | Added a small section on using conditions on tables from eager loads. | Ryan Bigg | 2008-10-06 | 1 | -0/+12 | |
| | | | ||||||
* | | | Updated guide, adding to the conditions section mostly. | Ryan Bigg | 2008-10-05 | 1 | -4/+87 | |
|/ / | ||||||
* | | Finders guide has no table of contents. | Ryan Bigg | 2008-10-01 | 1 | -60/+1 | |
| | | ||||||
* | | Merge branch 'master' of git@github.com:lifo/docrails | Ryan Bigg | 2008-10-01 | 127 | -3989/+4804 | |
|\ \ | ||||||
| * | | Fix several typos in route names. | Mike Gunderloy | 2008-09-30 | 1 | -3/+3 | |
| | | | ||||||
| * | | Correct number of routes created by map.resource. | Mike Gunderloy | 2008-09-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | Rework of Guides index page | Mike Gunderloy | 2008-09-29 | 1 | -38/+55 | |
| | | | ||||||
| * | | Move render/layout guide to the top | Pratik Naik | 2008-09-29 | 1 | -10/+9 | |
| | | | ||||||
| * | | Typooo | Pratik Naik | 2008-09-28 | 1 | -1/+1 | |
| | | | ||||||
| * | | Layout & Rendering Guide | Mike Gunderloy | 2008-09-28 | 3 | -5/+342 | |
| | | | ||||||
| * | | Merge branch 'master' of git@github.com:lifo/docrails | Simon Tokumine | 2008-09-28 | 1 | -20/+20 | |
| |\ \ | ||||||
| | * | | Back mentions of accessible out of Associations guide | Mike Gunderloy | 2008-09-28 | 1 | -20/+20 | |
| | | | | ||||||
| * | | | check_box form helper object must be an @instance object. | Simon Tokumine | 2008-09-28 | 1 | -4/+4 | |
| |/ / | ||||||
| * | | Syntax fixes plus some modification and additions in multiple sections of ↵ | athonlab | 2008-09-28 | 1 | -39/+98 | |
| | | | | | | | | | | | | testing guide. | |||||
| * | | Image updates & reorganization. First release version. | Mike Gunderloy | 2008-09-28 | 3 | -149/+238 | |
| | | | ||||||
| * | | Change erroneous "unless" to "if" in documentation. | Mike Gunderloy | 2008-09-27 | 1 | -1/+1 | |
| | | | ||||||
| * | | Finished rendering and redirecting section. | Mike Gunderloy | 2008-09-27 | 1 | -0/+149 | |
| | | | ||||||
| * | | Mark AR Associations guide as complete | Pratik Naik | 2008-09-27 | 1 | -6/+6 | |
| | | | ||||||
| * | | Merge commit 'mainstream/master' | Pratik Naik | 2008-09-27 | 102 | -3747/+3210 | |
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/base.rb railties/Rakefile railties/doc/guides/activerecord/association_basics.txt railties/doc/guides/debugging/debugging_rails_applications.txt railties/doc/guides/getting_started_with_rails/getting_started_with_rails.txt railties/doc/guides/index.txt railties/doc/guides/migrations/foreign_keys.txt railties/doc/guides/migrations/migrations.txt railties/doc/guides/migrations/writing_a_migration.txt railties/doc/guides/routing/routing_outside_in.txt | |||||
| | * | Ignore all exceptions for validates_acceptance_of columns fetch so it can ↵ | Tarmo Tänav | 2008-09-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | run even without a database connection Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
| | * | Changed ActiveRecord attributes to respect access control. | Adam Milligan | 2008-09-24 | 2 | -5/+54 | |
| | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1084 state:committed] | |||||
| | * | Partially revert 185fe2e9cce737d69d3b47a656f3651ce152c0c1 | Michael Koziarski | 2008-09-24 | 2 | -2/+4 | |
| | | | | | | | | | | | | We shouldn't quote the unpack command's requirement as it's passed through GemRunner which takes care of it for us. | |||||
| | * | Use ActiveSupport::SecureRandom instead of the strange fallback code. | Michael Koziarski | 2008-09-24 | 1 | -22/+2 | |
| | | | ||||||
| | * | Refactor configure_dependency_for_has_many to use a few more methods. | Hongli Lai (Phusion) | 2008-09-24 | 1 | -3/+34 | |
| | | | | | | | | | | | | | | | | | | | | | Add an additional conditions option to make it slightly easier for certain plugins. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1087 state:committed] | |||||
| | * | Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join ↵ | Pivotal Labs | 2008-09-24 | 4 | -13/+68 | |
| | | | | | | | | | | | | | | | | | | | | | strings to avoid table aliasing problems. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1077 state:committed] |