title: Rails: How to set default timezone to a specific one for the whole application?
body: <p>How do I set default timezone for Rails and ActiveRecord? I have a lot of places where time is diplayed(for example creation of some instance in the database, etc.). The time is displayed in my current timezone. Should i somehow configure Rails/ActiveRecord or *nix distributive that i am using on hosting platform?</p>
  
  <p>I've tryied to add that to <code>application.rb</code> file without any result:</p>
  
  <pre><code>config.time_zone = 'Moscow'
  config.active_record.default_timezone = :local
  </code></pre>
  
  <p>I've also tried to use </p>
  
  <pre><code>config.time_zone = 'Moscow'
  config.active_record.default_timezone = "Moscow"
  </code></pre>
  
  <p>But in that case i get a warning </p>
  
  <pre><code>warning: :database_timezone option must be :utc or :local - defaulting to :local
  </code></pre>
  
  <p>Is there a solution that will prevent me from changing all those places where time is rendered?</p>