heartcombo--simple_form/lib
Travis Grathwell 1a82fb20c5 Ensure the arg sent to `type_for_attribute` is a string
Per the docs, it is required to be a string:
http://api.rubyonrails.org/v5.0.0/classes/ActiveRecord/ModelSchema/ClassMethods.html#method-i-type_for_attribute

If you send a symbol, you will get an empty
ActiveRecord::Type::Value instance instead of the actual
column type you might have expected.

Since `f.input [attr]` can otherwise be invoked with
either a symbol or string, it seems important to
support both.

Fixes #1421
2016-08-25 22:57:23 -07:00
..
generators/simple_form Remove executable bit. 2016-08-08 16:13:19 +02:00
simple_form Ensure the arg sent to `type_for_attribute` is a string 2016-08-25 22:57:23 -07:00
simple_form.rb Add support Rails 5. 2016-07-05 12:22:52 -03:00