aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/company.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #27561 from fishbrain/count-all-in-has-many-associationRyuta Kamizono2018-01-031-0/+2
|\
| * Use `count(:all)` in HasManyAssociation#count_recordsKlas Eskilson2017-02-071-0/+2
* | Extract `Account` model to the dedicated fileRyuta Kamizono2017-07-221-34/+1
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* | Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Correct a has_many association testKoichi ITO2017-06-011-0/+1
* | Remove useless test caseRyuta Kamizono2017-04-261-8/+0
|/
* Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-051-3/+1
* 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