• Adds timezone support as a modify
option
rails generate hot_glue:scaffold User --include=my_timezone --modify='my_timezone{timezone}'
Note that my_timezone
is a string field on the User object. By specifying like so above, hot glue will generate a dropdown list of timezones using the rails time_zone_select
helper.
Unlike the previous implementation, which used timezone
, this one uses the Rails locale names as provided by the name method returned from the ActiveSupport::TimeZone object. full parity is still WIP but I intend to create a seamless backwards-compatible bridge
• Fixes redisplay issue on big edit
• Fix for time parsing