Fixed Rails dependency