I have added gem 'country-select'
to my gemfile, and I need to list all countries in a select. I try <%= f.input :country, as: :select %>
but countries don't appear. There are no info about that in documentation. Please help me with this issue.
try this out
<%= f.input :country, as: :country %>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With