Converting the website to a Rails app