Add rails backend.
Merge pull request #2 from bahudso/rails-backend

Add rails backend.