aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/timestamp_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix dirty tracking for `touch`Ryuta Kamizono2019-04-151-3/+11
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-2/+2
* Fix that `touch(:updated_at)` causes multiple assignments on the columnRyuta Kamizono2018-03-231-0/+10
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-11/+11
* Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-1/+1
* Move `test_index_is_created_for_both_timestamps` to `TimestampsWithoutTransac...Yasuo Honda2017-08-171-11/+11
* 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
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Push `current_time_from_proper_timezone` and timestamp attributes methods up ...Ryuta Kamizono2017-01-031-15/+0
* Change `timestamp_attributes_for_{create,update}` from symbol to stringRyuta Kamizono2017-01-011-6/+6
* Avoid to allow unused splat args for `t.timestamps` in `create_table`Ryuta Kamizono2016-08-141-1/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-7/+7
* modernizes hash syntax in activerecordXavier Noria2016-08-061-6/+6
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-30/+30
* Fix `assert_in_delta` test failureRyuta Kamizono2016-02-061-3/+8
* Further remove reliance on subsecond precision in testsSean Griffin2015-09-231-6/+14
* Fix missing index when using timestamps with indexPaul Mucur2015-04-151-0/+11
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-161-1/+1
* Add `time` option to `#touch`Hyonjee Joo2015-02-181-0/+21
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Merge pull request #8813 from greyblake/dont_write_timestamps_if_they_are_not...Yves Senn2014-08-141-0/+19
|\
| * Do not try to write timestamps if they are missing #8813Potapov Sergey2014-02-161-0/+22
* | Timestamp values should be present on callbacksRafael Mendonça França2014-06-091-18/+13
* | `ActiveRecord::Base.no_touching` no longer triggers callbacks or start empty ...Lucas Mazza2014-04-231-1/+20
* | Merge pull request #14469 from tiegz/timestamp_inheritance_fixRafael Mendonça França2014-03-271-0/+18
* | ActiveRecord#touch should accept multiple attributes #14423Thiago Pinto2014-03-191-0/+12
|/
* polymorphic belongs_to association with touch: true updates old record correctlySeverin Schoepke2013-12-051-16/+42
* swap arguments for some `assert_equal` statements => `expected, actual`Yves Senn2013-11-201-6/+6
* add #no_touching on ActiveRecord modelsDamien Mathieu2013-11-131-0/+48
* Removed unused associationsAndrew White2013-04-241-2/+0
* added test cases for #10197Adam Gamble2013-04-241-0/+56
* Revert "Revert "`belongs_to :touch` behavior now touches old association when...Andrew White2013-04-241-0/+46
* Remove test case also related to the belongs_to touch featureDavid Heinemeier Hansson2013-04-231-20/+0
* Revert "`belongs_to :touch` behavior now touches old association when transit...David Heinemeier Hansson2013-04-231-26/+0
* Improve `belongs_to touch: true` timestamp testAndrew White2013-04-051-7/+21
* Use inspect when writing the foreign key from the reflectionAndrew White2013-04-051-0/+6
* Modifies belong_to touch callback to touch old associations also #9091Adam Gamble2013-03-141-10/+2
* + Add test for auto timestamps update of both old & new parent recordsPikachuEXE2013-03-141-0/+34
* Fix touching an invalid parent record for belongs_toOlek Janiszewski2013-02-261-0/+12
* Use method compilation for association methodsJon Leighton2012-08-101-13/+15
* Deprecate update_column in favor of update_columns.Rafael Mendonça França2012-07-241-3/+3
* Remove update_attribute.Steve Klabnik2012-06-141-2/+2
* Allow instances to disable record_timestampsPratik Naik2011-10-261-0/+10
* fix typoAlexandr Zykov2011-06-081-1/+1
* This way asserting that updated_at was changed in touch look more obvious.Dmitriy Kiriyenko2011-06-071-0/+1
* Do not use default_scope in ActiveRecord::Persistence#touch.Dmitriy Kiriyenko2011-06-071-0/+9
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1