rails 4 support

updated dependency to also work with rails 4