Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

making it work on rails 3

  • Loading branch information...
commit d42251e1bb68b72aa03f66985eea6b3d6292587b 1 parent e82cd9d
Aditya Sanghi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/enumlogic.rb
4 lib/enumlogic.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.