lib/findable/base.rb in findable-0.1.3 vs lib/findable/base.rb in findable-0.1.4
- old
+ new
@@ -1,13 +1,15 @@
require "findable/associations"
+require "findable/inspection"
module Findable
class Base
include ActiveModel::Model
include ActiveModel::AttributeMethods
include Associations
+ include Inspection
attribute_method_suffix "="
attribute_method_suffix "?"
class << self
@@ -189,6 +191,5 @@
def attribute?(attr)
attributes[attr.to_sym].present?
end
end
end
-