Localtime doesn't use Time.zone, which is set in application.rb (config.time_zone) or can be changed to user's timezone with a before filter for example, so in_time_zone should be used instead of localtime.
Localtime doesn't use Time.zone, which is set in application.rb (config.time_zone) or can be changed to user's timezone with a before filter for example, so in_time_zone should be used instead of localtime.

activescaffold/active_scaffold,activescaffold/active_scaffold,AlbertoBarrago/active_scaffold,AlbertoBarrago/active_scaffold,activescaffold/active_scaffold,budree/active_scaffold,budree/active_scaffold,budree/active_scaffold,mallikarjunayaddala/active_scaffold,AlbertoBarrago/active_scaffold,mallikarjunayaddala/active_scaffold,mallikarjunayaddala/active_scaffold