module SimpleAttribute::Helpers
Public Instance Methods
simple_attribute_for(record, attribute, options = {})
click to toggle source
# File lib/simple_attribute/helpers.rb, line 3 def simple_attribute_for(record, attribute, options = {}) options = options.merge(record: record, attribute: attribute) SimpleAttribute::Builder.new(self, options).render end
Also aliased as: attribute_for