Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enum_select includes blank option for null. #19

Open
elorest opened this issue Oct 12, 2012 · 0 comments
Open

Enum_select includes blank option for null. #19

elorest opened this issue Oct 12, 2012 · 0 comments

Comments

@elorest
Copy link

elorest commented Oct 12, 2012

Even though I would like to use the enum_select option I end up having to do.
f.select(:color, Enumeration.columns_hash['color'].limit, :prompt => "Choose Color")
instead of
f.enum_select(:color, :prompt => "Choose Color")
because the latter creates Choose Color and .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant