aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Give GeneratedAttributeMethods module a nameChris Salzberg2019-03-131-1/+1
* Merge pull request #35320 from kamille-gz/fix_query_method_when_given_Date_da...Ryuta Kamizono2019-03-111-0/+63
|\
| * Fix query attribute method on user-defined attribute to be aware of typecaste...kamille-3212019-03-111-0/+63
|/
* More exercise string attribute predicate tests for falsy stringsRyuta Kamizono2019-02-241-0/+4
* Reset column info after making Topic tz-awareGannon McGibbon2019-02-181-0/+4
* Allow aliased attributes in updateGannon McGibbon2018-11-291-0/+6
* Use squiggly heredoc to strip odd indentation in the executed SQLRyuta Kamizono2018-11-221-1/+1
* Fix inspect with non-primary key id attributeEugene Kenny2018-11-061-0/+7
* `update_columns` raises if the column is unknownSean Griffin2018-10-301-0/+6
* Call initialize after allocateAaron Patterson2018-06-261-13/+0
* Fix user_input_in_time_zone to coerce non valid string into nilAnnie-Claude Côté2018-05-161-0/+10
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-4/+4
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-6/+6
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-11/+11
* Use respond_to test helpersDaniel Colson2018-01-251-15/+15
* No difference between JRuby and CRuby at test_read_attributes_before_type_cas...Yasuo Honda2017-11-211-6/+1
* Add test for class of GeneratedAttributeMethods instance in ancestorsChris Salzberg2017-10-091-0/+5
* Remove unused `cached_columns` and `time_related_columns_on_topic` in `Attrib...Ryuta Kamizono2017-09-271-8/+0
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Make `generated_attribute_methods` to privateRyuta Kamizono2017-07-141-1/+1
* 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 `define_attribute_method` with Symbol in ARPrem Sichanugrist2017-02-211-0/+7
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-4/+4
* Check whether the current attribute being write is aliased or not before writingPrathamesh Sonpatki2016-12-091-0/+7
* Check whether the current attribute being read is aliased or not before readingPrathamesh Sonpatki2016-12-081-0/+10
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-6/+6
* improve error message when include assertions failMichael Grosser2016-09-161-3/+3
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-5/+5
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-24/+24
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-186/+186
* removes spurious lineXavier Noria2016-07-241-1/+0
* give some love to this test fileXavier Noria2016-07-231-151/+155
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Do not specal case inspecting associated arrays of over 10 elements, preventi...Kevin McPhillips2016-06-291-2/+21
* Typos in AR testsAkira Matsuda2016-02-041-1/+1
* Avoid infinite recursion when bad values are passed to tz aware fieldsSean Griffin2016-02-021-0/+7
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-1/+1
* 💣Sean Griffin2015-10-021-1/+1
* Fix test failures on MySQLSean Griffin2015-10-021-1/+1
* Further encapsulate dirty checking on `Attribute`Sean Griffin2015-10-021-3/+0
* Should test both mysql adaptersRyuta Kamizono2015-09-201-1/+1
* Removed duplicate require ‘models/computer’Ronak Jangir2015-08-261-1/+0
* Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-2/+3
* Follow-up to #10776Robin Dupret2015-02-261-3/+3
* Extracted `ActiveRecord::AttributeAssignment` to `ActiveModel::AttributesAssi...Bogdan Gusiev2015-01-231-3/+3
* Introduce `ActiveRecord::Base#accessed_fields`Sean Griffin2015-01-201-0/+10
* Time columns should support time zone aware attributesSean Griffin2015-01-151-1/+50
* Only use the `_before_type_cast` in the form when from user inputSean Griffin2015-01-141-0/+8