On Oct 14, 3:41 am, Nate Wiger <[email protected]> wrote: > If you do: > > class User < Sequel::Model > set_primary_key 'id' > end
FYI, set_primary_key should be called with a symbol, not a string. SQL identifiers (columns/tables) are expressed in Sequel using ruby symbols. Using a ruby string for an identifier will work in some cases and fail in others. 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 -~----------~----~----~----~------~----~------~--~---
