postgres activerecord notes