Sha256: f350db91710001e0744f943161206e6b30aba0513063987e32c214b127232243
Contents?: true
Size: 436 Bytes
Versions: 5
Compression:
Stored size: 436 Bytes
Contents
# TODO: not used atm class BookFormWithNestedAttributes < Netzke::Basepack::Form def configure(c) c.merge!( :title => Book.model_name.human, :model => "Book", :record => Book.first, :items => [ :title, {:name => :author__first_name, :nested_attribute => true}, {:name => :author__last_name, :nested_attribute => true}, :digitized, :exemplars ] ) end end
Version data entries
5 entries across 5 versions & 1 rubygems