Versions removed to work with rails 4