aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
Commit message (Expand)AuthorAgeFilesLines
* Fix error message when trying to create an associated recordRafael Mendonça França2014-12-301-1/+1
* Share foreign_key_present? implementation in _has_ associationsbrainopia2014-12-314-8/+14
* Merge pull request #17680 from larskanis/fix_bytea_change_detectionSean Griffin2014-12-301-0/+1
|\
| * PostgreSQL, Fix change detection caused by wrong data for bytea unescaping.Lars Kanis2014-12-291-0/+1
* | Ensures that primary_key method will return nil when multi-pkArthur Neves2014-12-302-8/+7
* | Tiny documentation fixes [ci skip]Robin Dupret2014-12-301-1/+1
* | AR specific length validator to respect `marked_for_destruction`.Yves Senn2014-12-302-0/+22
* | Add doc for `:touch` option of AR::Base#saveclaudiob2014-12-301-0/+8
* | Ensure `first!` and friends work on loaded associationsSean Griffin2014-12-291-0/+1
* | Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-293-21/+4
* | Pass a type caster when aliasing tables for joinsSean Griffin2014-12-294-10/+15
* | Extract an explicit type caster classSean Griffin2014-12-298-39/+69
* | Rely on the injectable type caster for `arel_table`Sean Griffin2014-12-296-74/+22
* | Merge pull request #18097 from k0kubun/readonly-eager_loadRafael Mendonça França2014-12-291-0/+1
|\ \
| * | `eager_load` preserves readonly flag for associationsTakashi Kokubun2014-12-301-0/+1
| |/
* / Add nodoc to touch at no_touching.rbRafael Mendonça França2014-12-291-1/+1
|/
* Minor documentation edits [ci skip]Robin Dupret2014-12-281-6/+5
* Fix warning: `*' interpreted as argument prefixRyuta Kamizono2014-12-281-1/+1
* Provide :touch option to save() to accommodate saving without updating timest...Dan Olson2014-12-273-10/+10
* Provide a better error message for unsupported classes in `serialize`Sean Griffin2014-12-271-0/+11
* Add bigint primary key support for MySQL.Ryuta Kamizono2014-12-283-1/+14
* Support for any type primary key.Ryuta Kamizono2014-12-282-10/+5
* add autoload for `ForeignKeyDefinition`.Yves Senn2014-12-271-0/+1
* reduce duplication in `ConnectionAdapters::Table` docs. [ci skip]Yves Senn2014-12-271-27/+38
* Refactor `PostgreSQL::TableDefinition#primary_key`Ryuta Kamizono2014-12-271-4/+2
* Inform Arel we don't need additional type casting in batchesSean Griffin2014-12-261-1/+6
* Inform Arel that we don't need additional type casting in batchingSean Griffin2014-12-261-2/+8
* Go through normal `update_all` logic when updating lock columnsSean Griffin2014-12-261-17/+7
* Go through normal `update_all` logic when updating counter cachesSean Griffin2014-12-261-4/+3
* We don't need additional type casting for locking updatesSean Griffin2014-12-261-3/+11
* Go through normal where logic in `apply_join_dependency`Sean Griffin2014-12-261-1/+1
* We don't need to type cast the offset in `find_in_batches`Sean Griffin2014-12-261-1/+5
* Fall back to type casting from the connection adapterSean Griffin2014-12-261-2/+70
* Go through normal `where` logic in uniqueness validationSean Griffin2014-12-261-4/+6
* We don't need to cast the value a second time in uniqueness validationsSean Griffin2014-12-261-0/+1
* We don't need to perform type casting on the STI conditionSean Griffin2014-12-261-0/+1
* Go through normal `where` logic when preloading associationsSean Griffin2014-12-261-1/+1
* Eagerly cast array values passed to the predicate builderSean Griffin2014-12-261-1/+6
* Eagerly cast range values in the predicate builderSean Griffin2014-12-262-1/+25
* Perform casting of single values within the predicate builderSean Griffin2014-12-265-6/+37
* Remove `klass` and `arel_table` as a dependency of `PredicateBuilder`Sean Griffin2014-12-266-30/+69
* Refactor association handling in `PredicateBuilder`Sean Griffin2014-12-262-21/+61
* Re-use the predicate builder in the `ArrayHandler`Sean Griffin2014-12-262-8/+16
* Change `PredicateBuilder` handler methods to instance methodsSean Griffin2014-12-265-30/+71
* Add missing `:nodoc:`Sean Griffin2014-12-261-1/+1
* Inject the `PredicateBuilder` into the `Relation` instanceSean Griffin2014-12-269-16/+24
* Remove unused `@relation` instance variableSean Griffin2014-12-261-2/+0
* Merge branch 'brainopia-remember_frozen_state_in_transaction'Sean Griffin2014-12-261-7/+5
|\
| * Propagate frozen state during transaction changesbrainopia2014-12-261-7/+5
|/
* Correctly ignore `case_sensitive` for UUID uniqueness validationSean Griffin2014-12-265-2/+14