see if this works with rails 4