[V2] Rails3 porting change revision order

I add some tests fix to #258.