ryandotsmith/queue_classic — pull request #23 by mattscilipoti (2011-11-16 20:37:56+00:00)
Title: Sql functions: assist with CREATE and DROP.

I wanted to make it easy to:
* CREATE & DROP the necessary functions via migrations (makes this MUCH easier when a team is utilizing queue_classic)
* ensure we DROP all the functions we CREATE

To that end, I extracted the functions into a hash of function "moniker" (both the name and args seem to be required by DROP too) and the meat of the sql for creation.

Also:
Added `rake qc:remove_functions`
Updated installation docs.
Note: after generating the docs, a couple of docs were updated that I did not touch.

Don't miss the suggested migration(s) in the installation docs.

What do you think? Suggestions?