Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Partial fix to admin_child_form: now it shows the form.

  • Loading branch information...
commit 6516551266e027d0a01248c132063a5cf1e57b3b 1 parent f18d451
@baldowl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/auto_admin_configuration.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.