Module: Reform::Form::ReadonlyAttributesOptions
- Included in:
- Sync::InputRepresenter
- Defined in:
- lib/reform/form/virtual_attributes.rb
Instance Method Summary collapse
Instance Method Details
#options ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/reform/form/virtual_attributes.rb', line 15 def readonly_fields = representable_attrs. find_all { |d| d.[:virtual] }. collect { |d| d.name.to_sym } super.exclude!(readonly_fields) end |