appears to work with rails 4.1