aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/reflection_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Place `MocktailDesigner` in `test/models/drink_designer.rb`Ryuta Kamizono2017-10-231-1/+0
* Add test cases for `type` and `foreign_type` in the reflectionsRyuta Kamizono2017-10-211-0/+7
* 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
* Fix collection_singular_ids= bugDaniel Colson2017-02-021-0/+9
* deprecate `scope_chain`Aaron Patterson2017-01-301-5/+15
* Deprecate reflection class name to accept a classKir Shatrov2017-01-091-0/+6
* Cache results of computing model typeKonstantin Lazarev2017-01-031-1/+7
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-2/+2
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-061-36/+36
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-66/+66
* When verifying size of relation, also verify count is ok.Vipul A M2016-01-251-0/+1
* Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-241-0/+9
* Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-16/+24
* Improve test for leaky scope chaineileencodes2015-03-181-1/+7
* Remove unused variable in activerecord reflection_test.Juanito Fatas2015-03-171-1/+1
* Fix leaky chain on polymorphic associationeileencodes2015-03-151-0/+11
* `type_cast_from_user` -> `cast`Sean Griffin2015-02-171-1/+1
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-1/+1
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-171-1/+1
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-8/+5
* Return a null column from `column_for_attribute` when no column exists.Rafael Mendonça França2015-01-041-4/+18
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* Add a test for reflection keys as Strings, fixes #16928Zachary Scott2014-11-231-0/+4
* Begin refactoring ThroughReflectioneileencodes2014-07-081-34/+30
* Add regression tests for keys on nested associationseileencodes2014-07-011-0/+32
* Add a deprecation cycle for `NullColumn` from `column_for_attribute`Sean Griffin2014-06-231-18/+4
* Rename `type_cast` to `type_cast_from_database`Sean Griffin2014-06-091-1/+1
* Make `_before_type_cast` actually be before type castSean Griffin2014-06-091-1/+1
* have an actual `NullColumn` object and update docs accordingly.Yves Senn2014-06-041-0/+1
* Return a null column when no column exists for an attributeSean Griffin2014-06-031-0/+19
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-1/+6
* Regression test for irregular inflection on has_manyArthur Neves2014-04-181-0/+8
* Make sure the reflection test is passing a String to the reflectionLauro Caetano2014-04-091-1/+1
* PostgreSQL and SQLite, remove varchar limit. [Vladimir Sazhin & Toms Mikoss &...Yves Senn2014-04-041-1/+1
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-141-0/+16
* acually get the actual source reflection :cry::gun:Aaron Patterson2013-07-231-2/+3
* Removing not useful test related to reflect_on_all_associationsNeeraj Singh2013-07-021-8/+0
* Fix tests which started to fail due to commit 0123c39f41e2062311b2197e6e230ef...Takehiro Adachi2013-05-181-3/+3
* remove duplicated require statements in AR test casesYves Senn2012-10-091-1/+0
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-2/+2
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-271-0/+24
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-2/+2
* Represent association scope options as AR::Relations insternally.Jon Leighton2012-07-131-19/+23
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-22/+22
* Add test cases for 46492949b8c09f99db78b9f7a02d039e7bc6a702Andrew White2012-06-231-0/+52
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-181-24/+0