On Saturday, August 18, 2012 1:36:53 AM UTC-7, Kurtis Rainbolt-Greene wrote: > > I'm pretty sure I've followed the instructions (scattered as they were) on > how to get models in Sequel: https://gist.github.com/3385101 > > But I can't seem to get any fields. >
I'm guessing you didn't read the README, since at the top to Sequel::Model section, it mentions that the default table name uses the plural form, so your code would look for examples, not example. You should either rename your table or explicitly specify the table when creating the model class. I'm sorry if you felt that the instructions on Sequel::Model were "scattered". I'll be happy to consider changes to improve the documentation if you have concrete suggestions. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/sequel-talk/-/NbXw8hnjXngJ. 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.
