Sha256: fff0235a12455b5a438a520a6d5c664ef509a95a8f3633bc47589ded20c61a16
Contents?: true
Size: 447 Bytes
Versions: 17
Compression:
Stored size: 447 Bytes
Contents
- resource_class.attribute_names.delete_if { |name| Itsf::Backend.hidden_attributes_for[:edit].include?(name.to_sym) }.each do |name| - if form.object.class.columns_hash[name].try(:type) == :hstore = simple_fields_for name do |hstore_form| - if form.object.send(name).respond_to?(:each) - form.object.send(name).each do |key, value| = hstore_form.input key, input_html: { value: value } - else = form.input name
Version data entries
17 entries across 17 versions & 1 rubygems