Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ActionView::TemplateError (can't convert Hash into Array) on line #8 of vendor/plugins/active_scaffold/frontends/default/views/_form_association_footer.rhtml:
- 5: remote_controller = nil
- 6: end
- 7:
- 8: show_add_existing = (!column.through_association? and options_for_association_count(column.association) > 0)
- 9:
- 10: show_add_new = !column.through_association? and (column.plural_association? or (column.singular_association? and not associated.empty?))
- 11: show_add_new = false unless @record.class.authorized_for?(:action => :create)
Add Comment
Please, Sign In to add comment