base framework in RoR