Generic RoR project with device