Browse files

making it work on rails 3

  • Loading branch information...
1 parent e82cd9d commit d42251e1bb68b72aa03f66985eea6b3d6292587b Aditya Sanghi committed Sep 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/enumlogic.rb
View
4 lib/enumlogic.rb
@@ -1,4 +1,4 @@
-require "activerecord"
+require "active_record"
# See the enum class level method for more info.
module Enumlogic
@@ -64,4 +64,4 @@ def enum(field, values, options = {})
def enum?(name)
method_defined?("#{name}_key")
end
-end
+end

0 comments on commit d42251e

Please sign in to comment.