Rails3 porting change revision order #256

Rails3 porting change revision order #256