Is it possible to change default TimeZone in MongoDB using Rails 3?
问题 I have such trouble: when I'm creating object and setting some datetime It is saving database in UTC TimeZone. Here is example: //showing full list of object properties Grant _id: 5108ee29e6b564611400000, start_date: 2013-01-30 09:56:27 UTC //then showing a.start_date Wed, 30 Jan 2013 13:56:27 +0400 I tried to forbid database to use UTC. Here is mongoid.yml: development: options: raise_not_found_error: false sessions: default: use_activesupport_time_zone: true use_utc: false database: test