| Commit message (Expand) | Author | Age | Files | Lines |
* | Remove @connection instance variable only when defined | Yasuo Honda | 2015-07-26 | 1 | -2/+2 |
* | Properly allow uniqueness validations on primary keys. | Sean Griffin | 2015-07-25 | 1 | -0/+19 |
* | `destroy` shouldn't raise when child associations fail to save | Sean Griffin | 2015-07-24 | 1 | -0/+30 |
* | Remove ivar only when defined | Akira Matsuda | 2015-07-24 | 1 | -2/+2 |
* | Deprecate and rename the keys for association restrict_dependent_destroy | Roque Pinel | 2015-07-20 | 2 | -0/+39 |
* | Ensure that microsecond precision is only used for version of mysql that supp... | Jori Hardman | 2015-07-20 | 3 | -1/+37 |
* | Fix minor typo in test name | Sean Griffin | 2015-07-20 | 1 | -1/+1 |
* | Fix state being carried over from previous transaction | Roque Pinel | 2015-07-20 | 1 | -0/+7 |
* | Correctly ignore `mark_for_destruction` without `autosave` | Sean Griffin | 2015-07-20 | 1 | -0/+7 |
* | Fix the test that was broken by #16445 rather than deleting it | Sean Griffin | 2015-07-19 | 1 | -0/+12 |
* | Fix counter_cache for polymorphic associations | Stefan Kanev | 2015-07-19 | 2 | -12/+13 |
* | Merge pull request #20932 from twalpole/collection_association_parameters | Sean Griffin | 2015-07-18 | 1 | -1/+13 |
|\ |
|
| * | Ensure that 'ActionController::Parameters' can still be passed to AR for coll... | Thomas Walpole | 2015-07-18 | 1 | -1/+13 |
* | | Ensure cyclic associations w/ autosave don't cause duplicate errors | Sean Griffin | 2015-07-18 | 1 | -0/+8 |
|/ |
|
* | Ensure that `ActionController::Parameters` can still be passed to AR | Sean Griffin | 2015-07-18 | 1 | -0/+23 |
* | Silence deprecation warning from force reload | Prem Sichanugrist | 2015-07-16 | 10 | -105/+125 |
* | Deprecate force association reload by passing true | Prem Sichanugrist | 2015-07-15 | 6 | -0/+36 |
* | Replaced `ActiveSupport::Concurrency::Latch` with concurrent-ruby. | Jerry D'Antonio | 2015-07-13 | 2 | -21/+21 |
* | Fix regression caused by a01d164b | Rafael Mendonça França | 2015-07-07 | 1 | -0/+19 |
* | Add test proving that accepts_nested_attributes_for is secure against ID tamp... | Victor Costan | 2015-07-07 | 1 | -0/+10 |
* | Use default model enum in fixtures if not defined | eileencodes | 2015-07-02 | 1 | -0/+6 |
* | Correct through associations using scopes | Sean Griffin | 2015-06-30 | 1 | -0/+7 |
* | Merge pull request #20699 from vngrs/foreign_key_with_table_name_suffix_and_p... | Rafael Mendonça França | 2015-06-27 | 1 | -0/+31 |
|\ |
|
| * | Add table name prefix and suffix support to add_foreign_key and remove_foreig... | Mehmet Emin İNAÇ | 2015-06-25 | 1 | -0/+31 |
* | | Add reversible syntax for change_column_default | Prem Sichanugrist | 2015-06-26 | 2 | -0/+17 |
* | | Merge pull request #20677 from jmondo/decimal-default-string | Sean Griffin | 2015-06-25 | 3 | -3/+8 |
|\ \ |
|
| * | | Display decimal defaults as strings to keep precision | John Gesimondo | 2015-06-23 | 3 | -3/+8 |
* | | | Add pending test for the great-grandparent touching bug from #19324 | David Heinemeier Hansson | 2015-06-25 | 1 | -0/+21 |
|/ / |
|
* | | Merge pull request #20552 from jamesdabbs/belongs-to-polymorphic-force-reload | Yves Senn | 2015-06-23 | 1 | -0/+2 |
|\ \ |
|
| * | | Fix `undefined method uncached` for polymorphic belongs_to #20426 | James Dabbs | 2015-06-13 | 1 | -0/+1 |
* | | | Merge pull request #20545 from dcrec1/20541 | Yves Senn | 2015-06-23 | 1 | -0/+26 |
|\ \ \
| |_|/
|/| | |
|
| * | | thrown ActiveRecord::AssociationTypeMismatch when assigning a wrong value for... | Diego Carrion | 2015-06-22 | 1 | -0/+18 |
|/ / |
|
* | | AR absence validator respects `marked_for_destruction?`. Closes #20449. | Yves Senn | 2015-06-22 | 1 | -0/+75 |
* | | fix test not failing when executed isolated | Diego Carrion | 2015-06-19 | 1 | -1/+1 |
* | | Use `Enumerable#sum` on `ActiveRecord::Relation` when a block is given | Sean Griffin | 2015-06-19 | 1 | -0/+10 |
* | | Merge pull request #19843 from marshall-lee/explain_cte_queries | Yves Senn | 2015-06-19 | 1 | -0/+5 |
|\ \ |
|
| * | | Let WITH (CTE) queries be explainable | Vladimir Kochnev | 2015-05-28 | 1 | -0/+5 |
* | | | raise ActiveModel::MissingAttributeError when trying to access a relationship... | Diego Carrion | 2015-06-16 | 1 | -0/+4 |
* | | | Merge pull request #20257 from prathamesh-sonpatki/test-for-serial-for-quoted... | Arthur Nogueira Neves | 2015-06-15 | 1 | -0/+6 |
|\ \ \ |
|
| * | | | Added test case for serial? method when sequence name is not quoted | Prathamesh Sonpatki | 2015-05-22 | 1 | -0/+6 |
* | | | | make `remove_index :table, :column` reversible. | Yves Senn | 2015-06-15 | 2 | -6/+15 |
| |_|/
|/| | |
|
* | | | Add a test to ensure `serialize` persists `nil` as `NULL` | Sean Griffin | 2015-06-12 | 1 | -0/+8 |
* | | | Don't crash when mutating attributes in a getter | Sean Griffin | 2015-06-12 | 1 | -0/+16 |
* | | | Merge pull request #20480 from senny/test_runner | Yves Senn | 2015-06-12 | 77 | -223/+227 |
|\ \ \ |
|
| * | | | make it possible to run AR tests with bin/test | Yves Senn | 2015-06-11 | 77 | -223/+227 |
* | | | | Merge pull request #20226 from EpicH0liday/reversible-remove-foreign-key | Yves Senn | 2015-06-12 | 1 | -1/+30 |
|\ \ \ \ |
|
| * | | | | Add an invert method for remove_foreign_key | Aster Ryan | 2015-06-11 | 1 | -1/+30 |
* | | | | | Add enum prefix/suffix option to enum definition | Igor Kapkov | 2015-06-12 | 1 | -0/+50 |
|/ / / / |
|
* | | | | Add a missing test case for the persistence behavior of `serialize` | Sean Griffin | 2015-06-11 | 1 | -0/+13 |
* | | | | Correctly handle array columns with defaults in the schema dumper | Sean Griffin | 2015-06-11 | 1 | -0/+5 |
|/ / / |
|