diff options
author | Blake Smith <blakesmith0@gmail.com> | 2010-05-11 12:52:47 -0500 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-11 20:06:26 +0200 |
commit | a4207c1084439051ca0d828768382bcff86c5d92 (patch) | |
tree | 5d8094eaf711769528e3f6856c41b2d18dd37e79 /activerecord | |
parent | 88b4a8fcafc7c52ad7deaa4fee9ee0fabf68940c (diff) | |
download | rails-a4207c1084439051ca0d828768382bcff86c5d92.tar.gz rails-a4207c1084439051ca0d828768382bcff86c5d92.tar.bz2 rails-a4207c1084439051ca0d828768382bcff86c5d92.zip |
Make sure timestamp is properly referenced
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/attribute_methods/dirty.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods/dirty.rb b/activerecord/lib/active_record/attribute_methods/dirty.rb index dd44bd8d51..cf4594ad7f 100644 --- a/activerecord/lib/active_record/attribute_methods/dirty.rb +++ b/activerecord/lib/active_record/attribute_methods/dirty.rb @@ -8,7 +8,7 @@ module ActiveRecord include AttributeMethods::Write included do - if self < Timestamp + if self < ::ActiveRecord::Timestamp raise "You cannot include Dirty after Timestamp" end |