aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_one_associations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-2/+2
* User Rails 4 find_byrobertomiranda2013-01-181-2/+2
* User assert_kind_of, invert assert_equal expectationsCarlos Antonio da Silva2012-11-291-3/+3
* Added STI support to init and building associationsJason Rush2012-11-291-0/+30
* Do not create useless database transaction when building `has_one` association.Bogdan Gusiev2012-11-101-0/+6
* Remove mass_assignment_options from ActiveRecordGuillermo Iguaran2012-09-161-16/+0
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-16/+0
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-101-43/+13
* Fix #7191. Remove unnecessary transaction when assigning has_one associations.kennyj2012-08-081-0/+13
* s/scoped/scope/Jon Leighton2012-08-011-1/+1
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-4/+4
* ActiveRecord::Base.all returns a Relation.Jon Leighton2012-07-271-1/+1
* remove deprecated callsJon Leighton2012-04-271-3/+3
* find and replace deprecated keysJon Leighton2012-04-271-1/+1
* %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-271-1/+1
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-2/+2
* Fix #5069 - Protect foreign key from mass assignment throught association bui...Jean Boussier2012-03-051-0/+16
* Fix typoRafael Mendonça França2012-02-011-2/+2
* Use human attribute name to show the dependent destroy messageRafael Mendonça França2012-02-011-1/+25
* fix has_one, has_many restrict error messageManoj2012-02-011-1/+1
* Remove deprecation warnings from testsRafael Mendonça França2012-01-311-6/+12
* suggested fixes for :dependent => :restrict deprecation.Manoj2012-01-311-16/+5
* has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-2/+46
* Only call set_owner_attributes for has_one association if target exists.Dieter Komendera2011-07-041-0/+11
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-0/+7
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* removed deprecated methods, and related tests, from ActiveRecordJosh Kalderimis2011-05-251-9/+0
* Add block setting of attributes to singular associationsAndrew White2011-05-171-0/+21
* Pass the attribute and option hashes to build_associationAndrew White2011-05-171-0/+16
* Don't use mass-assignment protection when setting foreign keys or association...Jon Leighton2011-05-121-0/+33
* Don't remove the target if it has already been destroyedAndrew White2011-05-111-0/+9
* Bring back obj.association_loaded? as a deprecated method. Fixes #472.Jon Leighton2011-05-111-0/+9
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-7/+7
* Split AssociationProxy into an Association class (and subclasses) which manag...Jon Leighton2011-02-181-7/+2
* Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-0/+8
* We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-301-0/+15
* Support for create_association! for has_one associationsJon Leighton2011-01-111-0/+18
* When assigning a has_one, if anything fails, the assignment should be rolled ...Jon Leighton2011-01-111-2/+5
* When assigning a has_one, if the new record fails to save, raise an errorJon Leighton2011-01-111-14/+14
* When assigning a has_one, if the existing record fails to be removed from the...Jon Leighton2011-01-111-0/+12
* has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-10/+25
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-8/+0
* Remove undocumented feature from has_one where you could pass false as the se...Jon Leighton2011-01-031-29/+0
* removing unused variablesAaron Patterson2010-11-221-4/+3
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-2/+2
* Set attributes properly for model built from association with conditions [#55...Marcelo Giorgi2010-09-281-0/+5
* code gardening: we have assert_(nil|blank|present), more concise, with better...Xavier Noria2010-08-171-1/+1
* Use better assertion methods for testingNeeraj Singh2010-05-191-4/+4
* Add :dependent = to has_one and has_many [#3075 state:resolved]Rizwan Reza2010-03-281-1/+9