aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/company.rb
Commit message (Expand)AuthorAgeFilesLines
* Handle aliased attributes in ActiveRecord::Relation.Godfrey Chan2013-05-011-0/+2
* Added STI support to init and building associationsJason Rush2012-11-291-0/+1
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-1/+0
* test cleanup, remove ruby_type because it's no longer neededYves Senn2012-09-031-4/+0
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-101-2/+14
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-011-16/+20
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-1/+14
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-14/+1
* Convert association macros to the new syntaxJon Leighton2012-07-201-27/+27
* Fix issue with private kernel methods and collection associations. Closes #2508Carlos Antonio da Silva2012-05-021-0/+5
* test_get_ids_for_ordered_association fixedgregolsen2012-01-311-1/+1
* ids_reader method fixed, test added to has_many associationgregolsen2012-01-311-0/+1
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-161-0/+2
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-1/+1
* Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-041-0/+1
* Refactor tests to be less brittleJon Leighton2011-06-121-0/+12
* Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-141-9/+6
* belongs_to records should be initialized within the association scopeJon Leighton2011-01-161-0/+1
* Add create_association! for belongs_toJon Leighton2011-01-161-0/+1
* Construct an actual ActiveRecord::Relation object for the association scope, ...Jon Leighton2011-01-071-1/+0
* Allow assignment on has_one :through where the owner is a new record [#5137 s...Jon Leighton2011-01-031-0/+1
* Verify that when has_many associated objects are destroyed via :dependent => ...Jon Leighton2010-12-311-1/+16
* Convert :primary_key in association to a string before comparing to column na...Denis Odorcic2010-10-301-0/+1
* Add :dependent = to has_one and has_many [#3075 state:resolved]Rizwan Reza2010-03-281-0/+5
* Fix associations to call :destroy or :delete based on the right :dependent op...Carlos Antonio da Silva2010-03-091-2/+2
* Simplify calculation scope building. Remove :order from associations as it is...Pratik Naik2010-01-181-5/+3
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-0/+2
* Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+2
* Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-0/+1
* Explicitely setting `autosave => false' should override new_record autosaving...Eloy Duran2009-09-121-0/+5
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-0/+5
* has_many :through create should not raise validation errorsrailsbob2009-08-091-0/+2
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-061-2/+6
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-151-0/+1
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-011-0/+4
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-221-4/+0
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-211-0/+4
* Merge branch 'master' into active_modelPratik Naik2009-04-221-7/+6
|\
| * Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-201-7/+6
* | Deprecate Model#validate/validate_on_create/validate_on_update. Use Model.val...Pratik Naik2009-03-211-3/+6
|/
* Fix find_by_last when order is given [#2127 state:committed]Jan De Poorter2009-03-091-0/+1
* Ensure replacing has_one associations respects the supplied :dependent option...Dimitri Krassovski2009-03-061-0/+1
* Fix configure_dependency_for_has_many not quoting conditions properly [#1461 ...Frederick Cheung2008-12-211-0/+1
* Ensure association proxy responds to private class methods defined in associa...Pratik Naik2008-10-161-0/+8
* Ensure methods called on association proxies respect access control. [#1083 s...Pratik Naik2008-10-131-1/+12
* Use select and change test so new tests can work on postgres.miloops2008-09-121-2/+2
* Improve test coverage when using the group option in find, has_many or has_an...miloops2008-09-111-0/+2
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
* Use klass.sti_name to make sure associations take store_full_sti_class into a...Daniel Guettler2008-07-221-0/+7
* Add support for :primary_key option to has_one as well as has_many so that a ...Brad Greenlee2008-07-061-0/+1