lib/generators/fae/nested_scaffold_generator.rb in fae-rails-1.7.1 vs lib/generators/fae/nested_scaffold_generator.rb in fae-rails-2.0.0

- old
+ new

@@ -14,12 +14,12 @@ private def generate_nested_model_file generate "model #{file_name} #{@@attributes_flat}" inject_concern - inject_position_scope - inject_model_attachments inject_display_field_to_model + inject_model_attachments + inject_position_scope inject_parent_info if options.parent_model.present? end def generate_nested_controller_file @attachments = @@attachments