lib/express_templates/components/forms/select.rb in express_templates-0.11.4 vs lib/express_templates/components/forms/select.rb in express_templates-0.11.5

- old
+ new

@@ -73,10 +73,10 @@ end end def options_from_belongs_to if belongs_to_association.polymorphic? - helpers.options_for_select([[]]) # we can't really handle polymorhic yet + raise 'No options for Polymorphic association' else helpers.options_from_collection_for_select(related_collection, :id, option_name_method, resource.send(field_name)) end end