updating ruby
fix migrations
improve the rails routes for the models