Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Will Warner's Profile

GitHub User: samsaradog

Comments by Will Warner


In Rails 4.1, we can no longer use this line:

validates_inclusion_of :time_zone, in: ActiveSupport::TimeZone.zones_map(&:name)

It needs to be:

validates_inclusion_of :time_zone, in: ActiveSupport::TimeZone.zones_map(&:name).keys

as discussed here


Thanks for a great episode. You constantly amaze me with these ideas.

I think I found a small typo though. In /app/views/users/new.html.erb you have:


I think you mean


Thanks again!