Rails app for a library