added rails as dependency