public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
phorsfall (author)
Sat Apr 19 14:19:47 -0700 2008
josh (committer)
Sat Apr 19 14:21:34 -0700 2008
commit  14a40804a29a57ad05ca6bffbe1e5334089593a9
tree    80e2d5f38334327a70a368cc2e57fc8c2e8f7c1c
parent  3f8d3cd04ff0bd7cbf70c11d49a3dc009dfa98a0
rails / activemodel / CHANGES
100644 12 lines (9 sloc) 0.343 kb
1
2
3
4
5
6
7
8
9
10
11
12
Changes from extracting bits to ActiveModel
 
* ActiveModel::Observer#add_observer!
 
  It has a custom hook to define after_find that should really be in a
  ActiveRecord::Observer subclass:
 
   def add_observer!(klass)
   klass.add_observer(self)
   klass.class_eval 'def after_find() end' unless
        klass.respond_to?(:after_find)
   end