| Commit message (Expand) | Author | Age | Files | Lines |
* | Merge pull request #18700 from nygrenh/better-required-message | Aaron Patterson | 2015-01-31 | 1 | -2/+22 |
|\ |
|
| * | Provide a better error message on :required association | Henrik Nygren | 2015-01-28 | 1 | -2/+22 |
* | | Remove most type related predicates from `Column` | Sean Griffin | 2015-01-30 | 18 | -83/+117 |
* | | Fix a state leak in `autosave_association_test` | Sean Griffin | 2015-01-30 | 1 | -0/+5 |
* | | Always perform validations on nested attribute associations | Sean Griffin | 2015-01-30 | 2 | -1/+9 |
* | | Post.all.or(anything) == Post.all | Sean Griffin | 2015-01-29 | 2 | -5/+5 |
* | | Fixed AR::Relation#group method when argument is a SQL reserved keyword | Bogdan Gusiev | 2015-01-29 | 1 | -0/+5 |
* | | Don't error when grouped calculations return 0 records | Sean Griffin | 2015-01-28 | 1 | -0/+5 |
* | | Merge Pull Request #16052 Added #or to ActiveRecord::Relation | Sean Griffin | 2015-01-28 | 3 | -0/+107 |
|\ \ |
|
| * | | Bring the implementation of Relation#or up to speed | Sean Griffin | 2015-01-28 | 2 | -3/+26 |
| * | | Added #or to ActiveRecord::Relation | Matthew Draper | 2015-01-28 | 2 | -0/+84 |
* | | | Always convert strings to UTF-8, regardless of column type in SQLite | Sean Griffin | 2015-01-28 | 1 | -1/+1 |
|/ / |
|
* / | Don't redefine autosave association callbacks in nested attrs | Sean Griffin | 2015-01-28 | 4 | -0/+13 |
|/ |
|
* | Remove Relation#bind_params | Sean Griffin | 2015-01-27 | 13 | -54/+43 |
* | Use an `Attribute` object to represent a bind value | Sean Griffin | 2015-01-27 | 5 | -25/+13 |
* | `WhereClause#predicates` does not need to be public | Sean Griffin | 2015-01-27 | 10 | -125/+45 |
* | Move where grouping into `WhereClause` | Sean Griffin | 2015-01-27 | 1 | -0/+33 |
* | Move the `from` bind logic to a `FromClause` class | Sean Griffin | 2015-01-26 | 1 | -3/+3 |
* | Remove `Relation#bind_values=` | Sean Griffin | 2015-01-26 | 1 | -1/+1 |
* | Remove unused `bind` and `bind!` methods from `Relation` | Sean Griffin | 2015-01-26 | 1 | -9/+0 |
* | Go through normal `where` logic in `AssociationScope` | Sean Griffin | 2015-01-26 | 1 | -1/+1 |
* | Generate a query that makes sense when testing having clauses | Sean Griffin | 2015-01-26 | 1 | -3/+4 |
* | Change `having_values` to use the `WhereClause` class | Sean Griffin | 2015-01-26 | 1 | -2/+18 |
* | Improve consistency of counter caches updating in memory | Sean Griffin | 2015-01-26 | 2 | -1/+10 |
* | Test association was eager loaded, rather than reaching into internals | Sean Griffin | 2015-01-26 | 2 | -4/+4 |
* | Move flattening records added to an association farther out | Sean Griffin | 2015-01-26 | 1 | -0/+9 |
* | Remove all references to `where_values` in tests | Sean Griffin | 2015-01-25 | 10 | -62/+62 |
* | Move `where_unscoping` logic over to `WhereClause` | Sean Griffin | 2015-01-25 | 1 | -0/+14 |
* | Move `where.not` logic into `WhereClause` | Sean Griffin | 2015-01-25 | 1 | -0/+26 |
* | Remove all references to `where_values` in association code | Sean Griffin | 2015-01-25 | 1 | -0/+5 |
* | Move where merging logic over to `WhereClause` | Sean Griffin | 2015-01-25 | 1 | -0/+42 |
* | Introduce `Relation::WhereClause` | Sean Griffin | 2015-01-25 | 2 | -8/+43 |
* | Merge pull request #18474 from notEthan/pretty_print_inspect | Sean Griffin | 2015-01-23 | 1 | -0/+11 |
|\ |
|
| * | pretty_print will use #inspect if a subclass redefines it | Ethan | 2015-01-12 | 1 | -0/+11 |
* | | Fix test failure on PG caused by 7c6f3938dee47f093 | Sean Griffin | 2015-01-23 | 1 | -2/+2 |
* | | Merge pull request #10776 from bogdan/assign-attributes | Sean Griffin | 2015-01-23 | 4 | -6/+6 |
|\ \ |
|
| * | | Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi... | Bogdan Gusiev | 2015-01-23 | 4 | -6/+6 |
* | | | Move integer range validation to never raise on assignment | Sean Griffin | 2015-01-23 | 2 | -15/+28 |
* | | | Errors raised in `type_cast_for_database` no longer raise on assignment | Sean Griffin | 2015-01-23 | 1 | -0/+17 |
* | | | Don't remove join dependencies in `Relation#exists?` | Sean Griffin | 2015-01-23 | 1 | -0/+6 |
|/ / |
|
* | | Don't error when invalid json is assigned to a JSON column | Sean Griffin | 2015-01-21 | 1 | -0/+8 |
* | | Replace `if exists` with `table_exists?` and drop table statement with `drop_... | Yasuo Honda | 2015-01-21 | 2 | -3/+3 |
* | | Introduce `ActiveRecord::Base#accessed_fields` | Sean Griffin | 2015-01-20 | 3 | -0/+40 |
* | | TransactionManager should call rollback records | Arthur Neves | 2015-01-20 | 1 | -1/+1 |
* | | Merge pull request #18458 from brainopia/fix_after_commit_for_fixtures | Jeremy Kemper | 2015-01-20 | 3 | -18/+31 |
|\ \ |
|
| * | | after_commit runs after transactions with non-joinable parents | brainopia | 2015-01-16 | 3 | -18/+31 |
* | | | tests, use `drop_table if_exists: true` in our test suite. | Yves Senn | 2015-01-20 | 9 | -13/+13 |
* | | | Merge pull request #18597 from kamipo/add-if-exists-to-drop-table | Yves Senn | 2015-01-20 | 1 | -0/+11 |
|\ \ \ |
|
| * | | | Add an `:if_exists` option to `drop_table` | Stefan Kanev | 2015-01-19 | 1 | -0/+11 |
* | | | | Fix bind value copying from subqueried relations | Sean Griffin | 2015-01-19 | 1 | -0/+8 |