Commit Graph

25 Commits

Author SHA1 Message Date
andrea longhi d7f0e434dd add around_create callback documentation for ActiveModel::Callbacks 2012-08-08 00:16:28 +02:00
Carlos Antonio da Silva 2a7cfee13e Make internal callback model definitions private in AMo
These _define class methods don't need to be exposed to objects that
extend ActiveModel::Callbacks.

Also use merge! options to avoid the creation of an extra hash.
2012-06-25 13:21:26 -03:00
Francesco Rodriguez bc7ac33846 add :nodoc: to internal implementations [ci skip] 2012-06-22 16:29:59 -05:00
Francesco Rodriguez d569bfed0d update ActiveModel::Callbacks documentation [ci skip] 2012-06-22 00:32:54 -05:00
Bogdan Gusiev 7661955634 AS::Callbacks: :skip_after_callbacks_if_terminated option 2012-02-03 17:57:53 +02:00
Rafael Mendonça França 2a663dcf09 Remove Array.wrap call in ActiveModel 2012-01-06 01:04:33 -03:00
José Valim 38ab982cff Log 'Filter chain halted as CALLBACKNAME rendered or redirected' every time a before callback halts. 2011-11-30 09:53:09 +01:00
Alexey Vakhov efbb73562d Small docs fix in Active Model callbacks module 2011-11-19 12:19:59 +06:00
Sebastian Martinez 2a4b780ab1 Remove extra white spaces on ActiveModel docs. 2011-05-23 20:39:10 -03:00
John Firebaugh 57bc25c5f8 Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface.
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-01-31 19:45:53 -02:00
José Valim 6b099975fa No need to symbolize these. 2010-12-27 09:30:36 +01:00
Santiago Pastorino b451de0d6d Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
Subba Rao Pasupuleti ef0da581e9 no callbacks should be created for empty array [#5289 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-08-12 13:12:26 -03:00
Neeraj Singh aa2235be7b replacing around with for in the comments for callbacks 2010-07-22 01:28:30 +02:00
Rizwan Reza de65c82bfa Changes call backs to callbacks. 2010-06-15 22:48:10 +04:30
Rizwan Reza 716c243def Minor changes to active_model/callbacks.rb and dirty.rb 2010-06-14 13:38:29 +04:30
Rizwan Reza 4523081317 Minor changes to callbacks and conversion API docs. 2010-06-14 13:28:00 +04:30
Santiago Pastorino 13e00ce606 fix stack trace lines on class_eval
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-09 21:28:49 +02:00
Jeremy Kemper a98db7c6ef Use Array.wrap uniformly 2010-03-27 11:50:11 -07:00
Mikel Lindsaar 582228e435 ActiveModel::Callbacks documentation 2010-01-15 08:19:53 +11:00
José Valim 6d390671f6 Move ActiveRecord callbacks implementation to ActiveModel and make use of it.
Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
2009-12-28 16:19:23 -08:00
Pratik Naik 2bc4189faf Get rid of active_model/core and active_model/callbacks 2009-03-21 01:32:59 +00:00
rick b9528ad3c5 initial statemachine machine and state classes 2008-06-28 00:55:02 -07:00
rick b7c6ceff9a tweak activemodel load order a bit 2008-06-27 23:29:47 -07:00
Rick Olson 5dc3f91832 initial experimental commit of active_model
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-09 14:59:15 +00:00