added rails solutions
Merge pull request #704 from imousterian/master

added rails solutions