update dependency to rails 4 for use with rails 4