lib/enumify/model.rb in enumify-0.2.0 vs lib/enumify/model.rb in enumify-1.0.0
- old
+ new
@@ -79,10 +79,9 @@
unless respond_to?(negative_scope)
scope negative_scope, lambda { where("#{self.table_name}.#{parameter} != ?", val.to_s) }
end
end
end
- alias_method :enum, :enumify
end
end
end