Re: [Rails] country select gem

2018-10-10 Thread Joe Guerra
I used this instead... <%= f.input :country, :collection => %w[Canada USA], required: true %> On Saturday, October 6, 2018 at 2:22:26 AM UTC-4, fugee ohu wrote: > > > > On Wednesday, October 3, 2018 at 6:56:37 PM UTC-4, Rob Zolkos wrote: >> >> <%= f.select :country,

Re: [Rails] country select gem

2018-10-06 Thread fugee ohu
On Wednesday, October 3, 2018 at 6:56:37 PM UTC-4, Rob Zolkos wrote: > > <%= f.select :country, options_for_select(["CA", "US"]) %> > > > On Thu, Oct 4, 2018 at 6:40 AM Joe Guerra > wrote: > >> I'm not sure why I went to this extent, but I was trying to remove the >> gem and failed. (it still

Re: [Rails] country select gem

2018-10-06 Thread fugee ohu
On Wednesday, October 3, 2018 at 6:56:37 PM UTC-4, Rob Zolkos wrote: > > <%= f.select :country, options_for_select(["CA", "US"]) %> > > > On Thu, Oct 4, 2018 at 6:40 AM Joe Guerra > wrote: > >> I'm not sure why I went to this extent, but I was trying to remove the >> gem and failed. (it still

Re: [Rails] country select gem

2018-10-03 Thread Rob Zolkos
<%= f.select :country, options_for_select(["CA", "US"]) %> On Thu, Oct 4, 2018 at 6:40 AM Joe Guerra wrote: > I'm not sure why I went to this extent, but I was trying to remove the gem > and failed. (it still kept finding the helper method - even though I > removed it from my view) > >

[Rails] country select gem

2018-10-03 Thread Joe Guerra
I'm not sure why I went to this extent, but I was trying to remove the gem and failed. (it still kept finding the helper method - even though I removed it from my view) Anyways, I'm got this code... but it doesn't like the label; <%= f.country_select :country, only: ["CA", "US"], label: