Ruby on Rails specific implementation of DCI