Browse files

Changed default builder name to 'f' instead of 'builder'.

  • Loading branch information...
1 parent e6eecb8 commit 954aca6a700980881cc0ba3b242cf60dcbec9711 @lailsonbm committed Feb 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/awesome_nested_fields_helper.rb
View
2 app/helpers/awesome_nested_fields_helper.rb
@@ -38,7 +38,7 @@ def nested_fields_template(builder, association, options={})
def nested_fields_process_default_options(options, builder, association)
options[:new_object] ||= builder.object.class.reflect_on_association(association).klass.new
options[:partial] ||= association.to_s.singularize
- options[:builder_local] ||= :builder
+ options[:builder_local] ||= :f
options[:item_template_class] ||= 'template item'
options[:none_template_class] ||= 'template none'
options

0 comments on commit 954aca6

Please sign in to comment.