Skip to content

undefined method `to_region_select_tag'  #62

Description

@RashedKhalfan

Dear all

I'm sorry if my error sound silly. I'm getting this error while implementing carmen on my rails app:

undefined method to_region_select_tag' for #ActionView::Helpers::Tags::Base:0x5d83a18
`

this is my form code
`
<%= simple_form_for @practitioner do |f| %>
<% if practitioner.errors.any? %>


<%= pluralize(practitioner.errors.count, "error") %> prohibited this practitioner from being saved:

  <ul>
  <% practitioner.errors.full_messages.each do |message| %>
    <li><%= message %></li>
  <% end %>
  </ul>
</div>

<% end %>

<%= f.label :firstName %> <%= f.text_field :firstName %>
<%= f.label :LastName %> <%= f.text_field :LastName %>
<%= f.label :contactNum %> <%= f.text_field :contactNum %>
<%= f.label :country %>
<%= f.country_select :country, priority: %w(US CA), prompt: 'Please select a country' %>
<%= f.label :state %> <%= f.text_field :state %>
<%= f.label :location %> <%= f.text_field :location %>
<%= f.submit %>
<% end %> `

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions