Rails library