Y
Hacker News
new
|
ask
|
show
|
jobs
by
udfalkso
2351 days ago
This might be best done using triggers. I've had good experiences with the Hair Trigger gem for managing these in rails.
1 comments
gigatexal
2351 days ago
Trigger would work. But going the pg_notify approach could allow for asynchronous updating whereas the trigger approach could slow writes.
link