Just doing a new Rails app. Using Devise. Would like to have one more column for the user table: timezone
This would allow me to use it in displaying time information...
Should I just keep it separate from the devise stuff? 开发者_运维技巧 Or is there an easier way?
Thanks!
Just add another column to your User model for storing the user's timezone in.
Just create a migration, add_timezone_to_users.
And inside def self.up write add_column :users,:timezone,
精彩评论