RESTified Rails app portion