query with Arel
response.status should be 302
update pg gem
Fix specs for postgresql
better spec_helper