aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/company.rb
Commit message (Expand)AuthorAgeFilesLines
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-11/+11
* modernizes hash syntax in activerecordXavier Noria2016-08-061-58/+58
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-22/+22
* Revert "Merge pull request #21994 from mtodd/inherit-scopes"Rafael Mendonça França2015-10-271-1/+1
* Make inherited scope test failMatt Todd2015-10-261-1/+1
* Refactor Calculations#execute_grouped_calculation and clean AR test caseRafael Sales2015-10-221-1/+0
* Fix regression in inverse_of on through associationseileencodes2015-09-261-0/+3
* allow setting of a demodulized class name when using STIAlex Robbin2015-05-111-0/+3
* Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methodsWojciech Wnętrzak2015-02-191-1/+1
* Fix error message when trying to create an associated recordRafael Mendonça França2014-12-301-0/+1
* Move association definition to the model fileAkira Matsuda2014-08-281-0/+1
* Add AR::Base.to_param for convenient "pretty" URLs derived from a model's att...Javan Makhmali2013-11-141-0/+2
* Port test from cf1904f to avoid future regressionPrem Sichanugrist2013-10-031-0/+5
* Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-1/+5
* More unused associations in AR test modelsAkira Matsuda2013-09-101-2/+0
* Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-171-0/+2
* More unused associations in AR test modelsAkira Matsuda2013-07-251-2/+0
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-7/+0
* Removed support for deprecated `finder_sql` in associations.Neeraj Singh2013-07-021-4/+0
* Removed support for deprecated `counter_sql`Neeraj Singh2013-07-021-16/+1
* Ambiguous reflections are on :through relationships are no longer supported.Aaron Patterson2013-06-131-1/+1
* 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