Rails version of RnR