Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of https://github.com/lifo/docrails | Pablo Ifran | 2012-10-22 | 1 | -8/+5 |
|\ | | | | | | | | | Conflicts: activerecord/lib/active_record/callbacks.rb | ||||
| * | copy edits [ci skip] | Vijay Dev | 2012-10-21 | 1 | -14/+7 |
| | | |||||
* | | Changeing some code-styles of the examples & fix a typo on dependent option | Pablo Ifran | 2012-10-22 | 1 | -18/+12 |
|/ | |||||
* | ActiveRecord Callbacks ordering examples | Pablo Ifran | 2012-10-19 | 1 | -0/+43 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-06-22 | 1 | -1/+1 |
|\ | |||||
| * | Typo in documentation. | Andrés Mejía | 2012-06-19 | 1 | -1/+1 |
| | | |||||
* | | Simplify AR configuration code. | Jon Leighton | 2012-06-15 | 1 | -24/+0 |
|/ | | | | | Get rid of ActiveModel::Configuration, make better use of ActiveSupport::Concern + class_attribute, etc. | ||||
* | Remove Array.wrap calls in ActiveRecord | Rafael Mendonça França | 2012-01-06 | 1 | -2/+0 |
| | |||||
* | Support configuration on ActiveRecord::Model. | Jon Leighton | 2011-12-28 | 1 | -12/+39 |
| | | | | | | | | | | | | | | | The problem: We need to be able to specify configuration in a way that can be inherited to models that include ActiveRecord::Model. So it is no longer sufficient to put 'top level' config on ActiveRecord::Base, but we do want configuration specified on ActiveRecord::Base and descendants to continue to work. So we need something like class_attribute that can be defined on a module but that is inherited when ActiveRecord::Model is included. The solution: added ActiveModel::Configuration module which provides a config_attribute macro. It's a bit specific hence I am not putting this in Active Support or making it a 'public API' at present. | ||||
* | Added back the Callback debugging section by interrogating the _*_callbacks ↵ | ozzyaaron | 2011-03-29 | 1 | -0/+18 |
| | | | | method | ||||
* | Active Record typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-02-02 | 1 | -10/+6 |
|\ | |||||
| * | FIX not using _on_create or _on_update callbacks only _create and _update | Paco Guzman | 2011-02-01 | 1 | -1/+1 |
| | | |||||
| * | Correct docs for after_find and after_initialize | Jesse Storimer | 2011-01-28 | 1 | -9/+5 |
| | | |||||
* | | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 1 | -5/+5 |
|/ | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove doc for debugging callbacks. Methods don't exist in Rails master | Rafael Mendonça França | 2010-10-13 | 1 | -10/+0 |
| | |||||
* | Cleanup deprecation warnings in active record | Carlos Antonio da Silva | 2010-09-06 | 1 | -17/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | lifecycle should be two words, life cycle | Jaime Iniesta | 2010-08-26 | 1 | -2/+2 |
| | |||||
* | fisting after_rollback and after commit callbacks | Aaron Patterson | 2010-08-20 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -24/+24 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | fixing documentation | Neeraj Singh | 2010-08-03 | 1 | -2/+2 |
| | |||||
* | Merge remote branch 'docrails/master' into 3-0-stable | Xavier Noria | 2010-08-03 | 1 | -31/+35 |
|\ | |||||
| * | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -31/+35 |
| | | |||||
* | | Add an internal (private API) after_touch callback. [#5271 state:resolved] | José Valim | 2010-08-02 | 1 | -2/+6 |
|/ | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-20 | 1 | -25/+2 |
|\ | | | | | | | | | Conflicts: actionpack/lib/abstract_controller/base.rb | ||||
| * | ActiveModel::Validations::Callbacks should not be required by default. | José Valim | 2010-06-19 | 1 | -8/+2 |
| | | |||||
| * | moving before_validation and after_validation functionality from ↵ | Neeraj Singh | 2010-06-19 | 1 | -20/+3 |
| | | | | | | | | | | | | | | | | ActiveRecord to ActiveModel [#4653 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Adds title and basic description where needed. | Rizwan Reza | 2010-06-15 | 1 | -0/+2 |
|/ | |||||
* | update docs before_validation_on_create => before_validation(:on => :create) | Santiago Pastorino and José Ignacio Costa | 2010-06-07 | 1 | -1/+1 |
| | |||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -32/+16 |
| | |||||
* | say something about after_(commit|rollback) in callbacks.rb, the fact that ↵ | Xavier Noria | 2010-05-02 | 1 | -1/+6 |
| | | | | their implementation is elsewhere is not important for rdoc purposes | ||||
* | Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...) | Jeremy Kemper | 2010-04-10 | 1 | -2/+4 |
| | |||||
* | Add debugging documentation for _callback_chain to ActiveRecord::Callback | chrisfinne | 2010-03-26 | 1 | -0/+10 |
| | | | | Signed-off-by: Rizwan Reza <rizwanreza@gmail.com> | ||||
* | Ensure deprecated validate methods are invoked when they are private [#3214 ↵ | José Valim | 2010-01-18 | 1 | -1/+1 |
| | | | | status:resolved] | ||||
* | Ensure before_validation and after_validation accepts :on as option. | José Valim | 2010-01-06 | 1 | -2/+20 |
| | |||||
* | Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally ↵ | José Valim | 2009-12-30 | 1 | -1/+1 |
| | | | | remove it. | ||||
* | Move ActiveRecord callbacks implementation to ActiveModel and make use of it. | José Valim | 2009-12-28 | 1 | -54/+5 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Callbacks, DeprecatedCallbacks = NewCallbacks, Callbacks | Joshua Peek | 2009-10-12 | 1 | -2/+2 |
| | |||||
* | Refactor new callbacks and AR implementation. | José Valim | 2009-09-08 | 1 | -59/+20 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 1 | -129/+126 |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix warnings in AMo | Joshua Peek | 2009-09-05 | 1 | -1/+1 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+17 |
| | |||||
* | Add wrap_with_notifications helper to AMo observing | Joshua Peek | 2009-07-20 | 1 | -1/+1 |
| | |||||
* | Move observing notify helper into AMo | Joshua Peek | 2009-06-11 | 1 | -5/+0 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -5/+7 |
| | |||||
* | Merge with docrails | Pratik Naik | 2009-02-24 | 1 | -5/+33 |
| | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -1/+1 |
| | |||||
* | Fixed broken after_save callback; was being called when before_create was ↵ | Michael Lovitt | 2009-01-16 | 1 | -2/+3 |
| | | | | | | | canceled or before_update was canceled Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1735 state:committed] | ||||
* | Merge docrails | Pratik Naik | 2008-10-16 | 1 | -2/+3 |
| |