Sha256: e0dddbb30334ad2e5a487c12844be73dd7160402dd8a277d7acf68f083b70884
Contents?: true
Size: 528 Bytes
Versions: 21
Compression:
Stored size: 528 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 self.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
21 entries across 21 versions & 1 rubygems