| Commit message (Expand) | Author | Age | Files | Lines |
* | Fix #5069 - Protect foreign key from mass assignment throught association bui... | Jean Boussier | 2012-03-05 | 1 | -0/+16 |
* | Fix typo | Rafael Mendonça França | 2012-02-01 | 1 | -2/+2 |
* | Use human attribute name to show the dependent destroy message | Rafael Mendonça França | 2012-02-01 | 1 | -1/+25 |
* | fix has_one, has_many restrict error message | Manoj | 2012-02-01 | 1 | -1/+1 |
* | Remove deprecation warnings from tests | Rafael Mendonça França | 2012-01-31 | 1 | -6/+12 |
* | suggested fixes for :dependent => :restrict deprecation. | Manoj | 2012-01-31 | 1 | -16/+5 |
* | has_many/has_one, :dependent => :restrict, deprecation added. | Manoj | 2012-01-29 | 1 | -2/+46 |
* | Only call set_owner_attributes for has_one association if target exists. | Dieter Komendera | 2011-07-04 | 1 | -0/+11 |
* | Assign the association attributes to the associated record before the before_... | Jon Leighton | 2011-06-30 | 1 | -0/+7 |
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 1 | -1/+1 |
* | Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES... | Jon Leighton | 2011-06-04 | 1 | -1/+1 |
* | removed deprecated methods, and related tests, from ActiveRecord | Josh Kalderimis | 2011-05-25 | 1 | -9/+0 |
* | Add block setting of attributes to singular associations | Andrew White | 2011-05-17 | 1 | -0/+21 |
* | Pass the attribute and option hashes to build_association | Andrew White | 2011-05-17 | 1 | -0/+16 |
* | Don't use mass-assignment protection when setting foreign keys or association... | Jon Leighton | 2011-05-12 | 1 | -0/+33 |
* | Don't remove the target if it has already been destroyed | Andrew White | 2011-05-11 | 1 | -0/+9 |
* | Bring back obj.association_loaded? as a deprecated method. Fixes #472. | Jon Leighton | 2011-05-11 | 1 | -0/+9 |
* | Deprecated support for passing hashes and relations to default_scope, in favo... | Jon Leighton | 2011-04-12 | 1 | -7/+7 |
* | Split AssociationProxy into an Association class (and subclasses) which manag... | Jon Leighton | 2011-02-18 | 1 | -7/+2 |
* | Add interpolation of association conditions back in, in the form of proc { ..... | Jon Leighton | 2011-02-14 | 1 | -0/+8 |
* | We shouldn't be using scoped.scoping { ... } to build associated records, as ... | Jon Leighton | 2011-01-30 | 1 | -0/+15 |
* | Support for create_association! for has_one associations | Jon Leighton | 2011-01-11 | 1 | -0/+18 |
* | When assigning a has_one, if anything fails, the assignment should be rolled ... | Jon Leighton | 2011-01-11 | 1 | -2/+5 |
* | When assigning a has_one, if the new record fails to save, raise an error | Jon Leighton | 2011-01-11 | 1 | -14/+14 |
* | When assigning a has_one, if the existing record fails to be removed from the... | Jon Leighton | 2011-01-11 | 1 | -0/+12 |
* | has_one should always remove the old record (properly), even if not saving th... | Jon Leighton | 2011-01-11 | 1 | -10/+25 |
* | Construct an actual ActiveRecord::Relation object for the association scope, ... | Jon Leighton | 2011-01-07 | 1 | -8/+0 |
* | Remove undocumented feature from has_one where you could pass false as the se... | Jon Leighton | 2011-01-03 | 1 | -29/+0 |
* | removing unused variables | Aaron Patterson | 2010-11-22 | 1 | -4/+3 |
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -2/+2 |
* | Set attributes properly for model built from association with conditions [#55... | Marcelo Giorgi | 2010-09-28 | 1 | -0/+5 |
* | code gardening: we have assert_(nil|blank|present), more concise, with better... | Xavier Noria | 2010-08-17 | 1 | -1/+1 |
* | Use better assertion methods for testing | Neeraj Singh | 2010-05-19 | 1 | -4/+4 |
* | Add :dependent = to has_one and has_many [#3075 state:resolved] | Rizwan Reza | 2010-03-28 | 1 | -1/+9 |
* | removing dead code from activerecord tests. [#4187 state:resolved] | Aaron Patterson | 2010-03-15 | 1 | -9/+0 |
* | Fix associations to call :destroy or :delete based on the right :dependent op... | Carlos Antonio da Silva | 2010-03-09 | 1 | -2/+2 |
* | Remove the test which was testing a non-existing method, always failing on 1.... | Pratik Naik | 2010-01-02 | 1 | -6/+0 |
* | Make has_one with :conditions hash scope build or creation of the associated ... | Luciano G Panaro | 2009-09-28 | 1 | -0/+18 |
* | Fix has_one with foreign_key and primary_key association bug which caused the... | Graeme Porteous | 2009-09-12 | 1 | -0/+9 |
* | Deprecate Error#on(attribute) in favour of Errors#[attribute] | Pratik Naik | 2009-03-20 | 1 | -2/+2 |
* | Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved] | Will Bryant | 2009-03-12 | 1 | -0/+16 |
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -5/+5 |
* | Ensure replacing has_one associations respects the supplied :dependent option... | Dimitri Krassovski | 2009-03-06 | 1 | -0/+18 |
* | Fixed that autosave should validate associations even if master is invalid [#... | David Heinemeier Hansson | 2009-02-27 | 1 | -87/+0 |
* | Ensure methods called on association proxies respect access control. [#1083 s... | Pratik Naik | 2008-10-13 | 1 | -0/+10 |
* | Fix that has_one natural assignment to already associated record. [#854 state... | Jakub Kuźma | 2008-08-21 | 1 | -0/+10 |
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
* | Add support for :primary_key option to has_one as well as has_many so that a ... | Brad Greenlee | 2008-07-06 | 1 | -0/+7 |
* | Add :validate option to associations. [#301 state:resolved] | Jan De Poorter | 2008-06-11 | 1 | -0/+12 |
* | Fix faulty tests introduced in 8d0b4fa39 | Michael Koziarski | 2008-05-24 | 1 | -1/+1 |