Monday, 15 March 2010

The gem simple_form displays numbers instead of associated stings, when using the enums introduced in Rails 4.1 -



The gem simple_form displays numbers instead of associated stings, when using the enums introduced in Rails 4.1 -

rails 4.1 introduced enum, don't play latest version of simple_form. when used associations, simple_form displays numbers instead of associated stings. solutions or work arounds?

add next lines gemfile

# help activerecord::enum feature work fine i18n , simple_form. gem 'enum_help'

learn more here

ruby-on-rails-4 enums ruby-on-rails-4.1

No comments:

Post a Comment