Skip to content

Enum_select includes blank option for null. #19

@elorest

Description

@elorest

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions