GOD redefine 1.day
July 1st 2010We add gem bundler to our rails application. So we add all gems from production server to bundle and restart app. After we find a strange thing: 1.day return 86400. but before it returns 1.day and if we do “Time.now.to_date + 1.day” we get a 86400 day from now.
So we research our bundler gem list, and remove not used gems for rails.
