aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Should not pass extra args to `_update_record`Ryuta Kamizono2019-02-211-2/+2
* Replaced usage of where.delete/destroy_all with delete/destroy_byAbhay Nikam2019-02-201-1/+1
* Updating sample code on ActiveRecord#before_destroy callback [ci skip]Espartaco Palma2018-10-311-1/+1
* `Persistence#increment!` requires an attribute argument which is incrementedRyuta Kamizono2018-09-241-1/+1
* Fix sentence [ci skip]Santosh Wadghule2018-05-281-1/+1
* Fix that association's after_touch is not called with counter cacheRyuta Kamizono2018-05-271-0/+4
* Remove expired explanation [ci skip]Shia2018-03-301-15/+1
* [ci skip] Inherit ActiveRecord::Base in example codesYoshiyuki Hirano2017-12-151-2/+2
* Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-231-2/+2
* Fix some typos.Mike Boone2017-10-101-2/+2
* 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
* Merge pull request #27294 from eavgerinos/doc-ar-callbacks-orderRafael França2017-01-061-0/+49
|\
| * [ci skip] ActiveRecord: Document order of CallbacksAggelos Avgerinos2016-12-221-0/+49
* | No need to nodoc private methodsAkira Matsuda2016-12-241-3/+3
|/
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-11/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
* Change to use a more realistic example and not giving the impression that des...Vipul A M2016-05-051-3/+3
* [ci skip] Don't promote SQL interpolation.Kasper Timm Hansen2016-05-051-2/+2
* do not pass conditions to `#destroy_all` [ci skip]yuuji.yaginuma2016-05-051-2/+2
* Fix grammar `a` to `an` [ci skip]Ryuta Kamizono2016-02-131-1/+1
* Deprecate passing string to define callback.yui-knk2015-12-161-15/+0
* Typo correctionYves Siegrist2015-12-071-4/+4
* Merge pull request #18548 from sebjacobs/support-bidirectional-destroy-depend...Sean Griffin2015-10-281-0/+5
|\
| * Add support for bidirectional destroy dependenciesSeb Jacobs2015-01-161-1/+8
* | applies new doc guidelines to Active Record.Yves Senn2015-10-141-16/+18
* | add missing `:nodoc:` to `AR::Callbacks::ClassMethods`. [ci skip]Yves Senn2015-10-141-1/+1
* | docs, tiny rdoc markup fix. [ci skip]Yves Senn2015-08-121-1/+2
* | `destroy` shouldn't raise when child associations fail to saveSean Griffin2015-07-241-0/+3
* | Revert "Revert "Reduce allocations when running AR callbacks.""Guo Xiang Tan2015-07-161-5/+6
* | typo fix [ci skip]karanarora2015-05-201-1/+1
* | Revert "Reduce allocations when running AR callbacks."Guo Xiang Tan2015-03-221-6/+5
|/
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-3/+3
* Provide :touch option to save() to accommodate saving without updating timest...Dan Olson2014-12-271-1/+1
* Prefix internal method with _Rafael Mendonça França2014-10-251-5/+5
* Reduce allocations when running AR callbacks.Pete Higgins2014-09-281-5/+5
* [Active Record] Renamed private methods create_record and update_recordPrathamesh Sonpatki2014-02-201-2/+2
* Fix ActiveRecord::Callbacks sample code [ci skip]joker10072013-12-031-2/+2
* Add documentation for after_touch [ci skip]claudiob2013-10-081-1/+4
* fix typosVipul A M2013-04-211-1/+1
* Rename update_attributes method to update, keep update_attributes as an aliasAmparo Luna + Guillermo Iguaran2013-01-031-2/+2
* 1.9 hash syntax changesAvnerCohen2012-11-081-1/+1
* Merge branch 'master' of https://github.com/lifo/docrailsPablo Ifran2012-10-221-8/+5
|\
| * copy edits [ci skip]Vijay Dev2012-10-211-14/+7
* | Changeing some code-styles of the examples & fix a typo on dependent optionPablo Ifran2012-10-221-18/+12
|/
* ActiveRecord Callbacks ordering examplesPablo Ifran2012-10-191-0/+43
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-06-221-1/+1
|\
| * Typo in documentation.Andrés Mejía2012-06-191-1/+1