Permalink
Browse files

stamper_class

  • Loading branch information...
1 parent 83072c2 commit 5a3f2aaab724c1748f18f20f816cc1ad4457e8a2 @UGE-developer UGE-developer committed Nov 2, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/stampable.rb
View
@@ -114,7 +114,7 @@ def without_stamps
end
def stamper_class #:nodoc:
- stamper_class_name.to_s.capitalize.constantize rescue nil
+ stamper_class_name.to_s.camelize.constantize rescue nil
end
end
@@ -151,4 +151,4 @@ def set_deleter_attribute
end
end
-ActiveRecord::Base.send(:include, Ddb::Userstamp::Stampable) if defined?(ActiveRecord)
+ActiveRecord::Base.send(:include, Ddb::Userstamp::Stampable) if defined?(ActiveRecord)

0 comments on commit 5a3f2aa

Please sign in to comment.