lib/selections/form_builder_extensions.rb in selections-0.1.5 vs lib/selections/form_builder_extensions.rb in selections-0.1.6
- old
+ new
@@ -57,10 +57,10 @@
#html_options[:style] ||=
options[:include_blank] = include_blank?
options[:selected] = selected_item
form.select field_id, items.map { |item| [item.name, item.id] }, options, html_options
else
- "Could not find system_code of '#{system_code_name}' or '#{form.object_name}_#{system_code_name}' - #{options}"
+ "Could not find system_code of '#{system_code_name}' or '#{form.object_name}_#{system_code_name}'"
end
end
def selected_item
if object.new_record?
\ No newline at end of file