Permalink
Browse files

Partial fix to admin_child_form: now it shows the form.

  • Loading branch information...
1 parent f18d451 commit 6516551266e027d0a01248c132063a5cf1e57b3b @baldowl committed Mar 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/auto_admin_configuration.rb
@@ -459,7 +459,7 @@ def initialize object, field, proc, options
# Assembles the single child's fieldset.
def build_object(builder, obj, idx, caption)
- builder.inner_fields_for( field.to_s + '_' + idx, obj ) do |inner|
+ builder.inner_fields_for( field.to_s + '_' + idx.to_s, obj ) do |inner|
inner.fieldset( :fields, caption ) do
yield inner if block_given?
proc.call( inner ) if proc

0 comments on commit 6516551

Please sign in to comment.