Sha256: 7dd63db928ba9100e1dddcef9873cd59f93b206b12af9737214ab529f1c759f8
Contents?: true
Size: 525 Bytes
Versions: 10
Compression:
Stored size: 525 Bytes
Contents
module DynamicFieldsets # Base class for various field_html_attributes, # an example of an html attribute is {attribute => 'class',value => 'required'} # Any field can have more than one html attribute # # @authors Scott Sampson, Jeremiah Hemphill, Ethan Pemble class FieldHtmlAttribute < ActiveRecord::Base set_table_name "dynamic_fieldsets_field_html_attributes" #relations belongs_to :field #validations validates_presence_of :attribute_name validates_presence_of :value end end
Version data entries
10 entries across 10 versions & 1 rubygems