for Ruby on Rails