Permalink
Browse files

Use `require 'active_record'`, since 'activerecord' is deprecated in …

…Rails 3.x
  • Loading branch information...
1 parent 6389dba commit 866e25c9b150b5b4964b37f5371650c5e6d3d67e @mbuceta mbuceta committed Mar 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/enum_field.rb
View
@@ -6,7 +6,7 @@
require 'enum_field/exceptions'
require 'enum_field/builder'
require 'enum_field/enumerated_attribute'
-require 'activerecord'
+require 'active_record'
Module.send(:include, EnumField::DefineEnum)
ActiveRecord::Base.send(:extend, EnumField::EnumeratedAttribute)

0 comments on commit 866e25c

Please sign in to comment.