James Byrne wrote in post #955823: > Reference: http://gist.github.com/636670 > > I use PostgreSQL in my project and I have triggers and functions defined > as Active Record migrations.
As a former stored-procedure fan myself, I would strongly encourage you to move those into the application layer. Maintenance of SPs is a nightmare, version control and testing are generally difficult to impossible, and they are generally just not worth the trouble. That goes double for triggers. Best, -- Marnen Laibow-Koser http://www.marnen.org [email protected] -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

