aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Raise ArgumentError when passing nil to Relation#mergeRafael Mendonça França2015-02-061-0/+16
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-069-18/+55
* Merge pull request #18589 from kamipo/fix_test_types_line_upRafael Mendonça França2015-02-051-2/+2
|\
| * Fix `test_types_line_up` when column type missingRyuta Kamizono2015-01-301-2/+2
* | Merge pull request #18526 from vipulnsward/add-silence-streamRafael Mendonça França2015-02-053-47/+8
|\ \
| * | - Extracted silence_stream method to new module in activesupport/testing.Vipul A M2015-01-203-47/+8
* | | Do not run remove_connection in memory db testRafael Mendonça França2015-02-051-7/+7
* | | Merge pull request #18809 from meltheadorable/bugfix/postgres_moneySean Griffin2015-02-042-2/+4
|\ \ \
| * | | Fix test cases for money, bit and bit_varyingMelody2015-02-042-2/+4
* | | | Respect custom primary keys for associations in `Relation#where`Sean Griffin2015-02-041-1/+37
|/ / /
* | | rm `Column#cast_type`Sean Griffin2015-02-033-63/+21
* | | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-0328-28/+0
* | | Merge pull request #18791 from Sinjo/consistent-foreign-key-name-generationSean Griffin2015-02-021-2/+2
|\ \ \
| * | | Generate consistent names for foreign keysChris Sinjakli2015-02-031-2/+2
* | | | Properly lookup the limit for bigintSean Griffin2015-02-021-0/+5
|/ / /
* | | Fix validations on child record when record parent has validate: falseeileencodes2015-02-014-5/+50
* | | Merge branch 'master' into pr/18316Mingdong Luo2015-01-31117-840/+1426
|\ \ \
| * | | Attribute assignment and type casting has nothing to do with columnsSean Griffin2015-01-314-21/+41
| * | | Merge pull request #18512 from vipulnsward/18492-fixtures-with-stiAaron Patterson2015-01-316-11/+41
| |\ \ \
| | * | | Fixes #18492Vipul A M2015-01-146-11/+41
| | |/ /
| * | | Merge pull request #18700 from nygrenh/better-required-messageAaron Patterson2015-01-311-2/+22
| |\ \ \
| | * | | Provide a better error message on :required associationHenrik Nygren2015-01-281-2/+22
| * | | | Remove most type related predicates from `Column`Sean Griffin2015-01-3018-83/+117
| * | | | Fix a state leak in `autosave_association_test`Sean Griffin2015-01-301-0/+5
| * | | | Always perform validations on nested attribute associationsSean Griffin2015-01-302-1/+9
| | |_|/ | |/| |
| * | | Post.all.or(anything) == Post.allSean Griffin2015-01-292-5/+5
| * | | Fixed AR::Relation#group method when argument is a SQL reserved keywordBogdan Gusiev2015-01-291-0/+5
| * | | Don't error when grouped calculations return 0 recordsSean Griffin2015-01-281-0/+5
| * | | Merge Pull Request #16052 Added #or to ActiveRecord::RelationSean Griffin2015-01-283-0/+107
| |\ \ \
| | * | | Bring the implementation of Relation#or up to speedSean Griffin2015-01-282-3/+26
| | * | | Added #or to ActiveRecord::RelationMatthew Draper2015-01-282-0/+84
| * | | | Always convert strings to UTF-8, regardless of column type in SQLiteSean Griffin2015-01-281-1/+1
| |/ / /
| * / / Don't redefine autosave association callbacks in nested attrsSean Griffin2015-01-284-0/+13
| |/ /
| * | Remove Relation#bind_paramsSean Griffin2015-01-2713-54/+43
| * | Use an `Attribute` object to represent a bind valueSean Griffin2015-01-275-25/+13
| * | `WhereClause#predicates` does not need to be publicSean Griffin2015-01-2710-125/+45
| * | Move where grouping into `WhereClause`Sean Griffin2015-01-271-0/+33
| * | Move the `from` bind logic to a `FromClause` classSean Griffin2015-01-261-3/+3
| * | Remove `Relation#bind_values=`Sean Griffin2015-01-261-1/+1
| * | Remove unused `bind` and `bind!` methods from `Relation`Sean Griffin2015-01-261-9/+0
| * | Go through normal `where` logic in `AssociationScope`Sean Griffin2015-01-261-1/+1
| * | Generate a query that makes sense when testing having clausesSean Griffin2015-01-261-3/+4
| * | Change `having_values` to use the `WhereClause` classSean Griffin2015-01-261-2/+18
| * | Improve consistency of counter caches updating in memorySean Griffin2015-01-262-1/+10
| * | Test association was eager loaded, rather than reaching into internalsSean Griffin2015-01-262-4/+4
| * | Move flattening records added to an association farther outSean Griffin2015-01-261-0/+9
| * | Remove all references to `where_values` in testsSean Griffin2015-01-2510-62/+62
| * | Move `where_unscoping` logic over to `WhereClause`Sean Griffin2015-01-251-0/+14
| * | Move `where.not` logic into `WhereClause`Sean Griffin2015-01-251-0/+26
| * | Remove all references to `where_values` in association codeSean Griffin2015-01-251-0/+5