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,
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
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
<%= 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)
>
>
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:
5 matches
Mail list logo