Closed boardfish closed 2 years ago
I'm happy to pick up this issue myself.
Yes, please! Can you start by adding a failing test case to the component spec?
time_zone_select
helper. I just merged it in main
branch.If you have the opportunity of test it, let us know if you still have the error.
I can confirm that it's working now. Thanks for the fix!
Using the following within a
form_with
with a model:<%= f.time_zone_select :time_zone, ActiveSupport::TimeZone.all %>
I'm getting the following error:
Having had a look, the special case method that's been defined for
time_zone_select
might be incorrect:It seems that it's currently trying to run
objectify_options
on the first parameter aftermethod
, which is failing because it's an array ofTimeZone
s. Here's some more on what this is expected to accept.I'm happy to pick up this issue myself.