On Wednesday, October 11, 2017 at 6:54:34 PM UTC-7, Tim Uckun wrote: > > Hey Guys. > > For some weird reason the annotate plugin does not annotate some of my > models and it annotates others. I tried specifying a table name and that > didn't work. > > When I look at the log I see that it's actually selecting the schema > information for that table and when I run the query does display the > records for that table but no annotation. > > There are no errors or anything so I am a loss to try and figure out how > to debug this. >
If you are using Sequel::Annotate.annotate([path]), try using Sequel::Annotate.new(ModelClass).annotate(path) and see if that makes a difference. Sequel::Annotate.annotate will skip paths if it can't recognize the class. If that doesn't provide enough information to fix it, please submit a minimal self-contained example showing the problem. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
