added 4.1.2 rails support