Fix failure when a field is named country #721

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

agios commented Dec 30, 2012

If the country_select gem was missing, the field generation would fail

@agios agios Fix inputs named "country"
Otherwise they would fail if the country_select gem was missing
cf72251
Collaborator

rafaelfranca commented Jan 1, 2013

I don't think we need this. If you don't want to map the country field to the country select input just register a type mapping.

config.input_mappings = { /country/ => :string }
Collaborator

rafaelfranca commented Jan 1, 2013

Thank you for the pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment