update gemspec activerecord to >= 4