C-2 for Ruby on rails