On Tue, Oct 18, 2022 at 12:50 PM Thiebo <thiebald.crem...@gmail.com> wrote:

> Hi,
>
> I want to create a table `lignes_comptables` and a model `Ligne_comptable`
>
> How do I tell the model to look for a table lignes_comptables non
> ligne_comptables ?
>

class Ligne_comptable < Sequel::Model(:lignes_comptable)
end

Be aware that class naming like that goes strongly against typical Ruby
style.

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 sequel-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CADGZSScCZdHu1_%3DSzO2xJz9-v6yTiSb%2BTWTJF3ziA1PT2ko6LQ%40mail.gmail.com.

Reply via email to