Rails 4 and postgres post