By default with Rails, Postgres will return the id of a newly inserted record using returning "id". Sometimes when working with Postgres, tables will have triggers on them that modify the row's data while being saved. As such, it would be great to also provide an option for Postgres to also let insert/updates and deletes to use returning * (which will return the row as it looks after Postgres modified it).
What are everyone's thoughts on this?
I think the policy is to publish feature requests on the rails-core mailing list. Github Issues is used for bugs and PR with attached code to implement new features but not discussions.
@rafaelfranca, @steveklabnik should this be submitted to rails-core and be closed here on Github?
Yes please use mailing list.