Lifting rails dependency