added rails dependency