On Jul 31, 11:02 am, Xavier Lange <[email protected]> wrote: > Ah, okay, I understand that. > > I have one question, though, how should JSON be initialized? What > should the plugin do if JSON is not already loaded when the > model.plugin(:serialize, :json, :field) call is made?
Nothing. It's the user's responsibility to require it before calling the plugin method. That's how it currently works for YAML, and I don't think JSON should be any different. Jeremy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
