# File lib/her/model/attributes.rb, line 41 def method_missing(method, *args, &blk) if method.to_s =~ /[?=]$/ || @_her_attributes.include?(method) # Extract the attribute attribute = method.to_s.sub(/[?=]$/, '') # Create a new `attribute` methods set self.class.attributes(*attribute) # Resend the method! send(method, *args, &blk) else super end end