aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Adds examples of integration tests in the testing guide.athonlab2008-10-121-10/+114
| | | |
| | * | Fix egregious error in documenting :class_nameMike Gunderloy2008-10-111-17/+17
| | | |
| | * | Updated to testing mailers section in the testing guide.athonlab2008-10-121-105/+34
| | | |
| | * | Removes the 'Filtering emails in development' section from testing guide.athonlab2008-10-111-32/+0
| | | |
| | * | small fixes in security guideHeiko Webers2008-10-111-3/+3
| | | |
| | * | Add description of flash.nowTore Darell2008-10-101-0/+21
| | | |
| * | | First complete draft of "getting started" guideMike Gunderloy2008-10-141-100/+619
| | | |
| * | | Edits and rewrites (work in progress)Mike Gunderloy2008-10-141-175/+198
| | | |
| * | | Adds examples of integration tests in the testing guide.athonlab2008-10-141-10/+114
| | | |
| * | | Fix egregious error in documenting :class_nameMike Gunderloy2008-10-141-17/+17
| | | |
| * | | Updated to testing mailers section in the testing guide.athonlab2008-10-141-105/+34
| | | |
| * | | Removes the 'Filtering emails in development' section from testing guide.athonlab2008-10-141-32/+0
| | | |
| * | | small fixes in security guideHeiko Webers2008-10-141-3/+3
| | | |
| * | | Add description of flash.nowTore Darell2008-10-141-0/+21
| | | |
| * | | Stated the need to specify "config.gem" +:lib+ option for libraries where ↵Karel Minarik2008-10-101-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | the Gem name (eg. "sqlite3-ruby") differs from the file itself (eg. "sqlite3") This affects great number of popular gems and is *really* frustrating to get "you have to rake gems:install" permanently when you *know* you just did that. See eg. http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/afefb09908f36db/
| * | Typo fix in routing guideMike Gunderloy2008-10-091-1/+1
| | |
| * | Merge branch 'master' of git@github.com:lifo/docrailsTore Darell2008-10-092-13/+51
| |\ \
| | * | Minor change on :name_prefix and :path_prefix documentation.Mike Gunderloy2008-10-091-0/+4
| | | |
| * | | Remove part about Ruby's rescueTore Darell2008-10-081-27/+0
| | | |
| * | | Remove the bit about rescue_actionTore Darell2008-10-081-24/+0
| | | |
* | | | Fixed obvious duplication of select_minute docs for select_hour [props to ↵Ryan Bigg2008-10-181-6/+6
| |/ / |/| | | | | | | | Zarathu in #rubyonrails]
* | | Merge branch 'master' of git@github.com:lifo/docrailsRyan Bigg2008-10-0916-60/+294
|\| |
| * | Fix links in AC guideTore Darell2008-10-078-17/+15
| | |
| * | Add verification, rescue + fixes to AC basicsTore Darell2008-10-0711-50/+249
| | |
| * | Additional detail on routes for namespaced controllers.Mike Gunderloy2008-10-071-1/+19
| | |
| * | Added some additional detail on asset caching syntax.Mike Gunderloy2008-10-071-0/+18
| | |
| * | Clarify that the event sequence shown in the comments applies to new records ↵Mike Gunderloy2008-10-061-2/+3
| | | | | | | | | | | | only.
* | | Did some more work on the finders guide tonight, lock and count sections addded.Ryan Bigg2008-10-091-13/+47
|/ /
* | Merge branch 'master' of git@github.com:lifo/docrailsRyan Bigg2008-10-0670-355/+1187
|\ \
| * | Merge commit 'mainstream/master'Pratik Naik2008-10-0566-345/+1142
| |\| | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/association_preload.rb
| | * ActiveResource can load array of strings, like serialize :bar, ArrayMatthew Moore2008-10-052-1/+26
| | | | | | | | | | | | | | | Signed-off-by: rick <technoweenie@gmail.com> [#1055 state:resolved]
| | * Fix a number of errors in the config.gem mechanism.Matt Jones2008-10-0517-49/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rails::GemDependency was missing definitions for hash and eql?, causing Array#uniq to not work. * If several versions of a gem are unpacked in vendor, now chooses the highest if no version is specified. * streamlined add_load_path. Now sets up Rubygems correctly to allow 'gem' to find frozen gems, with gems frozen to vendor/gems and specifications in vendor/gems/<gem-name>/.specification * Rails::GemDependency#specification would return a spec for the highest installed version, even for frozen gems and/or previously loaded lower versions. See in part ticket #1123. * removed vendor from default_load_paths - it was causing autoloading to append Gems::Gems::<gem-dir> to constant names * added additional tests for loading frozen gems. * incorporates the fix from #1107 for vendor rails * defers to freeze:gems for handling the Rails framework. gems:unpack WILL NOT place a copy of Rails in vendor/gems. Should close #1123 completely. * incorporates, via using the gem loader for frozen gems, fixes corresponding to #227, #324, #362, #527, and #742. * gem plugins now work the same whether frozen or not. Correctness of the behavior is a matter for another ticket... Signed-off-by: rick <technoweenie@gmail.com>
| | * Move controller ivar copying to a separate methodPratik Naik2008-10-051-8/+10
| | |
| | * Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-045-119/+136
| | | | | | | | | | | | ActionController::Base.
| | * First draft of ActiveSupport::RescuableNorbert Crombach2008-10-041-0/+74
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | * Ensure Model.sum and Model.avg typecast appropriately. [#1066 state:resolved]Pratik Naik2008-10-042-6/+10
| | | | | | | | | | | | | | | Model.sum delegates typecasting to the column being summed. If that's not feasible, returns a string. Model.avg always returns big decimal.
| | * 1.8 compatibility for random_number method on SecureRandom.Michael Koziarski2008-10-042-2/+6
| | | | | | | | | | | | 1.9 has its own version.
| | * Fix mismatched assertions.Michael Koziarski2008-10-041-2/+2
| | |
| | * Ensure rescue_from handlers are respected inside tests. [#835 state:resolved]Pratik Naik2008-10-043-43/+30
| | | | | | | | | | | | | | | | | | Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior.
| | * Remove HasManyAssociationStrategy and move the logic to ↵Pratik Naik2008-10-042-27/+21
| | | | | | | | | | | | ActiveRecord::Reflection::ThroughReflection.
| | * Introduce ActiveRecord::Reflection::ThroughReflection to simplify hm:t ↵Pratik Naik2008-10-042-53/+70
| | | | | | | | | | | | reflection logic
| | * Fix has_many :through when the source is a belongs_to association. [#323 ↵Zach Dennis2008-10-046-11/+73
| | | | | | | | | | | | | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | * Try reloading model on class mismatch [#229 state:resolved]Lawrence Pit2008-10-042-1/+21
| | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| | * Return processing lock to dispatcher, the finer grained lock was ↵Aliaksey Kandratsenka2008-10-042-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 Kandratsenka2008-10-041-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 Kandratsenka2008-10-042-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 Kandratsenka2008-10-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | pool is empty Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1169 state:committed]
| | * Fix race in ConnectionPool#checkoutAliaksey Kandratsenka2008-10-041-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 Kandratsenka2008-10-041-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 ↵madlep2008-10-042-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>