Using the plural form gets the same output, so yes, I did read the README. On Sat, Aug 18, 2012 at 12:40 PM, Jeremy Evans <[email protected]> wrote: > 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.
-- Kurtis Rainbolt-Greene, Hacker Difference Engineers, LLC 1631 8th Street New Orleans, LA 70115 -- 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.
