| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | use underlying _read_attribute method rather than causing NoMethodErrors | Aaron Patterson | 2011-01-11 | 1 | -1/+1 |
* | Support for create_association! for has_one associations | Jon Leighton | 2011-01-11 | 1 | -0/+18 |
* | Get rid of set_association_target and association_loaded? as the parts of the... | Jon Leighton | 2011-01-11 | 1 | -1/+1 |
* | DRY up the code which instantiates the association proxy | Jon Leighton | 2011-01-11 | 3 | -13/+11 |
* | Raise ActiveRecord::RecordNotSaved if an AssociationCollection fails to be re... | Jon Leighton | 2011-01-11 | 1 | -0/+13 |
* | When assigning a has_one, if anything fails, the assignment should be rolled ... | Jon Leighton | 2011-01-11 | 1 | -2/+5 |
* | In a number of places in the tests, we only need to turn off transactional fi... | Jon Leighton | 2011-01-11 | 9 | -43/+51 |
* | When assigning a has_one, if the new record fails to save, raise an error | Jon Leighton | 2011-01-11 | 2 | -16/+16 |
* | When assigning a has_one, if the existing record fails to be removed from the... | Jon Leighton | 2011-01-11 | 1 | -0/+12 |
* | Have a separate test connection directory for sqlite3 in-memory so that the t... | Jon Leighton | 2011-01-11 | 1 | -0/+0 |
* | Enable the sqlite3 in-memory test connection to work | Jon Leighton | 2011-01-11 | 5 | -17/+25 |
* | has_one should always remove the old record (properly), even if not saving th... | Jon Leighton | 2011-01-11 | 3 | -10/+30 |
* | Fix polymorphic belongs_to associationproxy raising errors when loading target. | Ernie Miller | 2011-01-11 | 2 | -0/+11 |
* | Always return decimal average of integer fields | Raimonds Simanovskis | 2011-01-10 | 1 | -0/+5 |
* | use SQLite3::VERSION rather than the deprecated class | Aaron Patterson | 2011-01-10 | 1 | -1/+1 |
* | Add test for e0e3adf | Jeremy Kemper | 2011-01-07 | 1 | -0/+6 |
* | Don't not remove double negatives | Jon Leighton | 2011-01-07 | 1 | -1/+1 |
* | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 4 | -12/+4 |
* | Use encode_with for marshalling | Jon Leighton | 2011-01-07 | 1 | -0/+7 |
* | send() will raise an ArgumentError, so we should leverage ruby | Aaron Patterson | 2011-01-07 | 1 | -1/+1 |
* | just use a hash for doing association caching | Aaron Patterson | 2011-01-07 | 3 | -4/+3 |
* | adding an `encode_with` method for Psych dump/load methods | Aaron Patterson | 2011-01-05 | 1 | -0/+7 |
* | make sure new objects can round trip | Aaron Patterson | 2011-01-05 | 1 | -0/+6 |
* | make sure that Psych can roundtrip an AR object | Aaron Patterson | 2011-01-05 | 1 | -0/+13 |
* | fixing merge errors | Aaron Patterson | 2011-01-04 | 2 | -78/+0 |
* | Remove undocumented feature from has_one where you could pass false as the se... | Jon Leighton | 2011-01-03 | 2 | -36/+7 |
* | ActiveRecord::Relation#primary_key should return a string, just like ActiveRe... | Jon Leighton | 2011-01-03 | 1 | -0/+4 |
* | Implement deprecated version of AssociationReflection#primary_key_name, which... | Jon Leighton | 2011-01-03 | 1 | -0/+12 |
* | When preloading a belongs_to, the target should still be set (to nil) if ther... | Jon Leighton | 2011-01-03 | 1 | -0/+9 |
* | Make Relation#create_with always merge rather than overwrite, not just when m... | Jon Leighton | 2011-01-03 | 1 | -0/+10 |
* | Let AssociationCollection#find use #scoped to do its finding. Note that I am ... | Jon Leighton | 2011-01-03 | 6 | -15/+22 |
* | Fix test_any in relations_test.rb, which was failing when relations_test.rb i... | Jon Leighton | 2011-01-03 | 1 | -0/+8 |
* | Allow assignment on has_one :through where the owner is a new record [#5137 s... | Jon Leighton | 2011-01-03 | 6 | -23/+61 |
* | Have a proper AssociationReflection#foreign_type method rather than using opt... | Jon Leighton | 2011-01-03 | 1 | -0/+6 |
* | Some basic tests for the :foreign_type option on belongs_to, which was previo... | Jon Leighton | 2011-01-03 | 3 | -2/+33 |
* | herp derpricating add_limit_offset! | Aaron Patterson | 2011-01-03 | 1 | -12/+0 |
* | Added one more failing test for bug #6036 | Robert Pankowecki (Gavdi) | 2011-01-04 | 1 | -0/+6 |
* | Rename AssociationReflection#primary_key_name to foreign_key, since the optio... | Jon Leighton | 2010-12-31 | 1 | -3/+5 |
* | Support for :counter_cache on polymorphic belongs_to | Jon Leighton | 2010-12-31 | 2 | -0/+13 |
* | Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh... | Jon Leighton | 2010-12-31 | 1 | -6/+36 |
* | Specify the STI type condition using SQL IN rather than a whole load of ORs. ... | Jon Leighton | 2010-12-31 | 1 | -0/+7 |
* | Verify that when has_many associated objects are destroyed via :dependent => ... | Jon Leighton | 2010-12-31 | 2 | -1/+25 |
* | Refactor configure_dependency_for_has_many to use AssociationCollection#delet... | Jon Leighton | 2010-12-31 | 1 | -3/+4 |
* | Make sure Model#touch doesn't try to update non existing columns | Pratik Naik | 2010-12-30 | 1 | -1/+3 |
* | Make serialized fixtures work again | Pratik Naik | 2010-12-29 | 5 | -4/+18 |
* | Allow primary_key to be an attribute when the model is a new record | Santiago Pastorino | 2010-12-28 | 1 | -1/+1 |
* | stop calling deprecated apis | Aaron Patterson | 2010-12-26 | 2 | -5/+5 |
* | Associations: DRY up the code which is generating conditions, and make it all... | Jon Leighton | 2010-12-26 | 1 | -1/+0 |
* | Fix dodgy tests which were effectively asserting nil == nil | Jon Leighton | 2010-12-26 | 2 | -3/+4 |
* | using arel to compile sql statements | Aaron Patterson | 2010-12-25 | 2 | -1/+2 |