On Sun, Feb 19, 2012 at 07:34:40PM -0800, Jeremy Evans wrote: > On Feb 19, 5:28?pm, Jason Dixon <[email protected]> wrote: > > Does anyone have an example of this plugin in action? It's not > > immediately clear if/how to use the .apply method. > > Sequel::Model.plugin :prepared_statements > > If you do that before loading your models, all of your models will use > prepared statements for insert/update/delete statements, and lookups > by primary key. I use this in all of my apps.
Right, I have that. But I also saw the .apply public method. Is this mostly unnecessary for basic use? -- Jason Dixon DixonGroup Consulting http://www.dixongroup.net/ -- You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en.
