Repository for Ruby on Rails Class