lib/selections/form_builder_extensions.rb in selections-0.2.1 vs lib/selections/form_builder_extensions.rb in selections-0.2.2
- old
+ new
@@ -103,10 +103,10 @@
object.send(field_id).to_s
end
end
def default_item
- items.where(:is_default => true).first.try(:id).to_s
+ items.where(is_default: true).first.try(:id).to_s
end
def blank_content
options[:blank_content] || 'none'
end
\ No newline at end of file