aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use an attribute rather than a SQL literalAaron Patterson2011-02-262-1/+2
|
* removing limits and offsets from COUNT queries unless both are specified. ↵Aaron Patterson2011-02-254-1/+51
| | | | [#6268 state:resolved]
* only take the limit if there is a limit to takeAaron Patterson2011-02-251-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-2513-86/+83
|\
| * standardize all shell commands with the $ prefixVijay Dev2011-02-2512-78/+78
| |
| * Fix missing inheritance from AR::Base in docsJosep M. Bach2011-02-241-1/+1
| |
| * Fixing wrong class name.Rodrigo Navarro2011-02-231-1/+1
| |
| * ActiveModel::Validator#validate must receive have a record parameter.Rodrigo Navarro2011-02-231-6/+3
| |
* | Always use ActionDispatch::ShowExceptions middleware [#6462 state:resolved]Prem Sichanugrist2011-02-253-3/+40
| | | | | | | | This will make sure the application will raise `ActionController::RoutingError` in case "X-Cascade: pass" header was set, usually when there's no route match.
* | Make sure that we set `env["action_dispatch.show_exceptions"]`Prem Sichanugrist2011-02-252-1/+17
| | | | | | | | This has been used by `show_exception` middleware even the setting wasn't get passed to `env` hash.
* | fixes: ActiveRecord::Base.scopes includes all scopes defined in all subclassesEric Allam2011-02-242-2/+7
| |
* | observers leak across tests, so rather than modify the object, we should ↵Aaron Patterson2011-02-231-6/+12
| | | | | | | | just count the number of times the observer was called
* | Removing redundant File.expand_path from generators testVinicius Baggio2011-02-231-1/+1
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Fix observer callbacks firing multiple times on descendant instancesKamal Fariz Mahyuddin2011-02-222-1/+22
| |
* | Fix tests on 1.8.José Valim2011-02-222-27/+8
| |
* | We're in 2011, let's update our licensePrem Sichanugrist2011-02-2213-13/+13
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Prepend the CSRF filter to make it much more difficult to execute ↵Michael Koziarski2011-02-231-1/+1
| | | | | | | | application code before it fires.
* | expectations change when using IM. Change oracle tests to reflect thatAaron Patterson2011-02-221-2/+6
| |
* | Relation will delegate to AR::Base which already uses the Dynamic finders, ↵Aaron Patterson2011-02-221-8/+3
|/ | | | so eliminate duplicate calls
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-222-2/+2
|\
| * alteracao de HTML para HTTPMateus Paixão2011-02-221-1/+1
| |
| * Merge branch 'master' of github.com:lifo/docrailsMani Tadayon2011-02-210-0/+0
| |\
| * | Fix typo in i18n guide: 'explicitely'Mani Tadayon2011-02-211-1/+1
| | |
| * | copy-edits 8d96b89Xavier Noria2011-02-2111-19/+36
| | |
| * | copy-edits 6d7a826Xavier Noria2011-02-211-3/+3
| | |
| * | copy-edits 34316d8Xavier Noria2011-02-211-7/+5
| | |
| * | Docs: Update to_xml documentation to match as_json docuemntationNicholas Rowe2011-02-211-0/+25
| | |
| * | Adding new examples for update_all methodRodrigo Navarro2011-02-211-0/+6
| | |
| * | Adding examplesRodrigo Navarro2011-02-211-0/+2
| | |
| * | Specifying :partial is required when passing additional options such as :layoutAndy Lindeman2011-02-211-1/+3
| | |
| * | cleans up PS1. Sorry lifo :)Vijay Dev2011-02-212-11/+11
| | |
| * | minor rephrasingVijay Dev2011-02-211-3/+1
| | |
| * | Documentation: Added small comments to Observering moduleNicholas Rowe2011-02-211-0/+3
| | |
| * | Tpyo: fixing several cases of the theNicholas Rowe2011-02-212-2/+2
| | |
| * | Typo: fixing the theNicholas Rowe2011-02-211-1/+1
| | |
| * | Edit a few lines for readability.Ben Orenstein2011-02-211-4/+4
| | |
| * | Add info about I18n::Backend::Chain to I18n guideBrandon Tilley2011-02-211-0/+6
| | |
| * | session is reset on token mismatchVijay Dev2011-02-211-1/+1
| | |
| * | Add a forgotten word.Ben Orenstein2011-02-211-1/+1
| | |
| * | Improve clarity of example. Make it follow guidelines for output display.Ben Orenstein2011-02-211-5/+5
| | |
| * | Add a clearer example for with_options (lifted from the Active Support guide).Ben Orenstein2011-02-211-5/+19
| | |
| * | improve language and examples in Railtie docsJimmy Cuadra2011-02-211-33/+21
| | |
| * | Clarification of ActiveRecord ActiveModel validation documentationPeer Allan2011-02-219-11/+24
| | |
* | | adding a test case for custom lockingAaron Patterson2011-02-211-0/+17
| | |
* | | Gem.cache is going to be deprecated, use source_index insteadAaron Patterson2011-02-211-1/+1
| | |
* | | Use proper objects to do the work to build the associations (adding methods, ↵Jon Leighton2011-02-2115-418/+553
| | | | | | | | | | | | callbacks etc) rather than calling a whole bunch of methods with rather long names.
* | | Rename target_klass to klassJon Leighton2011-02-213-10/+10
| | |
* | | Delegate through_reflection and source_reflection to reflectionJon Leighton2011-02-213-34/+34
| | |
* | | Delegate Association#options to the reflection, and replace ↵Jon Leighton2011-02-218-47/+57
| | | | | | | | | | | | 'reflection.options' with 'options'. Also add through_options and source_options methods for through associations.
* | | Singular associations no longer use a proxy, so no need to check for the ↵Jon Leighton2011-02-213-8/+2
| | | | | | | | | | | | proxy type on assignment.