On Friday, January 31, 2020 at 2:34:14 AM UTC-8, Petr Kaleta wrote: > > Lets say we have two models UserAddress and VenueAddress. Every model has > its own table and it is referenced to its associated entity using > foreign_key (user_id and venue_id). As both models are addresses I want to > make a base class Address for it. How to do it using sequel? How can I > create a model base class without underlaying table in database? >
Address = Class.new(Sequel::Model) 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 view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/a848320f-644e-4021-beb1-f7b38db8626d%40googlegroups.com.
