Class: AdminAssistant::MultiFormView::RecordsForForm

Inherits:
Array
  • Object
show all
Defined in:
lib/admin_assistant/form_view.rb

Overview

Passing an array as the object to form_for confuses it, so we hide that this is an array with a DelegateClass.

Instance Method Summary collapse

Constructor Details

#initialize(records) ⇒ RecordsForForm

Returns a new instance of RecordsForForm.



168
169
170
# File 'lib/admin_assistant/form_view.rb', line 168

def initialize(records)
  super(records)
end

Instance Method Details

#idObject



172
173
# File 'lib/admin_assistant/form_view.rb', line 172

def id
end