aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/callbacks_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-3/+3
* Merge pull request #30919 from seanlinsley/17622-before_save_strict_argumentsRyuta Kamizono2018-07-231-0/+27
|\
| * add strict argument checking to ActiveRecord callbacksSean Linsley2018-07-221-0/+23
|/
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-13/+13
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-5/+5
* 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
* Remove deprecated behavior that halts callbacks when the return is falseRafael Mendonça França2017-02-071-110/+0
* Remove deprecated passing string to define callbackRyuta Kamizono2017-02-041-47/+0
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-2/+2
* assert_equal takes expectation firstAkira Matsuda2016-12-261-4/+4
* Add three new rubocop rulesRafael Mendonça França2016-08-161-6/+6
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-2/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-7/+7
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-14/+14
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Deprecate passing string to define callback.yui-knk2015-12-161-1/+1
* AR::RecordNotSaved & RecordNotDestroyed should include an error messageYuki Nishijima2015-05-011-0/+2
* after_commit runs after transactions with non-joinable parentsbrainopia2015-01-161-3/+18
* Merge pull request #17227 from claudiob/explicitly-abort-callbacksRafael Mendonça França2015-01-031-20/+146
|\
| * Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-20/+146
|/
* Remove unused "Developer" fixtures from testsclaudiob2014-12-081-46/+0
* Add #record attribute to RecordNotFound and RecordDestroyed exceptions.Recursive Madman2014-11-261-2/+4
* Build fix when running in isolationArun Agrawal2014-11-141-0/+2
* callbacks are wrapped with lambdasAaron Patterson2013-05-101-1/+1
* Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-1/+1
* User Rails 4 find_byrobertomiranda2013-01-181-1/+1
* Fix collisions with before and after validation callbacks.John Foley2012-09-231-0/+49
* + ActiveRecord::Base#destroy!Marc-Andre Lafortune2012-06-061-0/+2
* Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-291-7/+7
* 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
* Cleanup deprecation warnings in active recordCarlos Antonio da Silva2010-09-061-9/+8
* fisting after_rollback and after commit callbacksAaron Patterson2010-08-201-1/+6
* Remove test ordering bug by using another classEvan Phoenix2010-03-221-4/+7
* squelching more warnings in the AR tests. [#4218 state:resolved]Aaron Patterson2010-03-181-1/+1
* Ensure before_validation and after_validation accepts :on as option.José Valim2010-01-061-1/+44
* Refactor new callbacks and AR implementation.José Valim2009-09-081-3/+3
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-61/+57
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-2/+2
* Fixed broken after_save callback; was being called when before_create was can...Michael Lovitt2009-01-161-3/+41
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-211-2/+2
* Move tests to casesJeremy Kemper2008-01-181-0/+400