Provides the minimum functionality to pass the ActiveModel lint tests
@example Usage
class Person include Gorillib::Model::ActiveModelShim end
# File lib/gorillib/model/active_model_shim.rb, line 24 def attribute_method?(attr_name) self.class.has_field?(attr_name) end
@return [false]
# File lib/gorillib/model/active_model_shim.rb, line 20 def persisted? false end
[Validate]
Generated with the Darkfish Rdoc Generator 2.