Rails: Records are not ordered by id in heroku
问题 Im having a problem I developed my app in my local environment and everything works as espected, but after I deployed to heroku something is not working right. I have 2 models PurchasingGroup and GroupGoal a purchasing group has many group goals, well when I create group goals for a purchasing group I can check in the console like this PurchasingGroup.last.group_goals and the result is this one [#<GroupGoal id: 130, created_at: "2015-03-25 17:09:08", updated_at: "2015-03-25 17:10:37", other