aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
Commit message (Expand)AuthorAgeFilesLines
* Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-311-0/+6
* Merge pull request #13859 from huoxito/let-it-goRafael Mendonça França2014-01-301-2/+0
|\
| * Let `unscope` ignore non Arel scope.where_valuesWashington Luiz2014-01-301-2/+0
* | Merge pull request #13886 from arthurnn/fix_relation_arelRafael Mendonça França2014-01-306-18/+21
|\ \ | |/ |/|
| * Fix regression on `.select_*` methods.Arthur Neves2014-01-306-18/+21
* | Merge pull request #13878 from marcandre/leave_my_options_aloneRafael Mendonça França2014-01-301-2/+2
|\ \
| * | find_in_batches should not mutate its argumentMarc-Andre Lafortune2014-01-291-2/+2
* | | docs, `references` is only used with `includes`. Closes #13727.Yves Senn2014-01-301-9/+14
| |/ |/|
* | AestheticRafael Mendonça França2014-01-291-6/+5
* | Fixing issue with activerecord serialization not being able to dump a record ...Mauricio Linhares2014-01-293-1/+17
|/
* Merge pull request #13201 from marcandre/find_in_batch_enumeratorRafael Mendonça França2014-01-291-0/+9
|\
| * `find_in_batches` now returns an `Enumerator` when called without a block, so...Marc-Andre Lafortune2013-12-061-0/+9
* | Mention find_each in find_in_batches doc [ci skip]Marc-Andre Lafortune2014-01-291-0/+2
* | `enum` now raises on "dangerous" name conflictsGodfrey Chan2014-01-291-3/+43
* | `scope` now raises on "dangerous" name conflictsGodfrey Chan2014-01-292-4/+28
* | Fixed a bug in AR::Base#respond_to?Godfrey Chan2014-01-291-2/+6
* | Correctly send the string given to lock! and reload(:lock) to the lock scope ...Mauricio Linhares2014-01-291-1/+1
* | Handle aliased attributes in AR::Relation#select, #order, etc.Tsutomu Kuroda2014-01-291-1/+5
* | Merge pull request #13838 from vipulnsward/13197-fix-has-one-documentationDamien Mathieu2014-01-281-1/+2
|\ \
| * | Add docs about behaviour of replacing a has_one associate object, that the pr...Vipul A M2014-01-281-1/+2
* | | Display value when raising due to unscope() issuesWashington Luiz2014-01-271-1/+1
|/ /
* | Merge pull request #13785 from kuldeepaggarwal/fix-find_with_multiple_idsYves Senn2014-01-241-2/+2
|\ \
| * | Fix `ActiveRecord::RecordNotFound` error message with custom primary keyKuldeep Aggarwal2014-01-251-2/+2
* | | Merge pull request #13799 from kbrock/better_dirtyJeremy Kemper2014-01-227-18/+49
|\ \ \ | |/ / |/| |
| * | Move changed_attributes into dirty.rbKeenan Brock2014-01-226-16/+47
| * | put core at the beginning so other classes can modify the behaviorKeenan Brock2014-01-222-2/+2
* | | Merge pull request #13791 from kei-s/remove_duplicate_mergeCarlos Antonio da Silva2014-01-221-1/+0
|\ \ \
| * | | Remove duplicate mergekei2014-01-221-1/+0
* | | | Make CollectionProxy#reset return selfRafael Mendonça França2014-01-221-1/+2
* | | | Calling reset on a collection association should unload the assocationKelsey Schlarman2014-01-211-0/+21
|/ / /
* | | Ensure AR #second, #third, etc. finders work through associationsJason Meller2014-01-213-13/+59
* | | Merge pull request #13776 from rails/dirty-enumRafael Mendonça França2014-01-212-4/+36
|\ \ \ | |/ / |/| |
| * | Use string as keysRafael Mendonça França2014-01-211-2/+2
| * | Store the enum values in the DEFINED_ENUM constantRafael Mendonça França2014-01-211-8/+8
| * | Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-212-8/+19
| * | Make enum feature work with dirty methodsRafael Mendonça França2014-01-211-1/+18
| * | Extract all attribute changed work to its own methodRafael Mendonça França2014-01-211-3/+7
* | | add missing information for `id` field when used with `select` [ci skip]Kuldeep Aggarwal2014-01-221-1/+1
* | | `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.Rafael Mendonça França2014-01-211-1/+1
* | | prepend table name for `Relation#select` columns.Yves Senn2014-01-211-1/+4
* | | Merge pull request #9969 from divineforest/fix-find-in-batchesYves Senn2014-01-211-5/+2
|\ \ \
| * | | Fail early with "Primary key not included in the custom select clause" in fin...Alexander Balashov2014-01-211-5/+2
| |/ /
* / / Remove missed usage of @first variableCarlos Antonio da Silva2014-01-211-1/+1
|/ /
* | Remove unneded argumentRafael Mendonça França2014-01-201-2/+2
* | Ensure #second acts like #first AR finderJason Meller2014-01-203-8/+91
* | Restore ActiveRecord states after a rollback for models w/o callbacksGodfrey Chan2014-01-182-6/+7
* | fix exception translationAaron Patterson2014-01-172-3/+4
* | translate exceptions on prepared statement failureAaron Patterson2014-01-172-6/+13
* | Update deprecation warning to give more information about callerT.J. Schuck2014-01-161-2/+2
* | Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-161-0/+4