Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 1 | -2/+8 |
| | |||||
* | Rollback the transaction when a before_* callback returns false. | Xavier Noria | 2008-08-24 | 1 | -0/+12 |
| | | | | | | | Previously this would have committed the transaction but not carried out save or destroy operation. [#891 state:committed] Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix file permissions | Tarmo Tänav | 2008-07-31 | 1 | -0/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Changing order of equality because comparing certain objects with false ↵ | Lucas Carlson | 2008-07-02 | 1 | -2/+2 |
| | | | | | | | | | | | | | raises an error. >> require 'md5' => true >> MD5.new("Asds") == false TypeError: can't convert false into String from (irb):2:in `==' from (irb):2 >> false == MD5.new("Asds") => false | ||||
* | Callbacks fire before notifying observers [#230 state:resolved] | Craig Demyanovich | 2008-06-03 | 1 | -2/+2 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Partial updates include only unsaved attributes. Off by default; set ↵ | Jeremy Kemper | 2008-03-31 | 1 | -2/+2 |
| | | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵ | Jeremy Kemper | 2008-01-19 | 1 | -35/+6 |
| | | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix typos (closes #10378) | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Change plings to the more conventional quotes in the documentation. Closes ↵ | Marcel Molina | 2007-11-12 | 1 | -1/+1 |
| | | | | | | #10104 [danger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva] | Marcel Molina | 2007-11-08 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Performance: absorb instantiate and initialize_with_callbacks into the Base ↵ | Jeremy Kemper | 2007-08-31 | 1 | -33/+3 |
| | | | | | | methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Formatting, grammar and spelling fixes for the associations documentation. ↵ | Michael Koziarski | 2007-08-28 | 1 | -50/+50 |
| | | | | | | [seanhussey] Closes #8899 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Consistent public/protected/private visibility for chained methods. Closes ↵ | Jeremy Kemper | 2007-03-13 | 1 | -0/+4 |
| | | | | | | #7813. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Backed out of new_record? to new? transformation as it would screw up ↵ | David Heinemeier Hansson | 2006-09-05 | 1 | -2/+2 |
| | | | | | | existing models that did boolean calls on "new" attributes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecated ActiveRecord::Base.new_record? in favor of ↵ | David Heinemeier Hansson | 2006-09-05 | 1 | -2/+2 |
| | | | | | | ActiveRecord::Base.new? (old version still works until Rails 2.0) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update callbacks documentation. Closes #3970. | Jeremy Kemper | 2006-07-08 | 1 | -0/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Doc fixes (closes #5443) | David Heinemeier Hansson | 2006-07-05 | 1 | -0/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Get there | Jeremy Kemper | 2006-06-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | preserve chained method punctuation | Jeremy Kemper | 2006-06-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ↵ | Marcel Molina | 2006-04-29 | 1 | -19/+4 |
| | | | | | | Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replace Ruby's deprecated append_features in favor of included. [Marcel ↵ | Marcel Molina | 2006-04-29 | 1 | -3/+1 |
| | | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | doc fix (closes #3972) [robby] | David Heinemeier Hansson | 2006-02-27 | 1 | -7/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert [3130]. Behavior of introducing Kernel.binding causes breakage. | Marcel Molina | 2005-11-21 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use Kernel.binding rather than binding to allow columns of that name. ↵ | Jeremy Kemper | 2005-11-21 | 1 | -1/+1 |
| | | | | | | References #2973. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix docs (closes #2491) | David Heinemeier Hansson | 2005-10-26 | 1 | -6/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |