Re: _add method in associated tables

2022-11-07 Thread Thiebo
Hi, Sorry for the late reply, but unless I misunderstand the documentation, I'm under the impression is user the method 'create' for one_to_one relations, not 'new' as you pointed out in your message :

Re: _add method in associated tables

2022-05-15 Thread Thiebo
Hi Jeremy, a bit late: many thanks for your answer. I moved to Rodauth since. Le samedi 7 mai 2022 à 09:59:14 UTC+2, Jeremy Evans a écrit : > On Fri, May 6, 2022 at 11:48 PM Thiebo wrote: > >> Hi everyone, >> >> I have these classes: >> >> class User < Sequel::Model >> one_to_one :password

Re: _add method in associated tables

2022-05-07 Thread Jeremy Evans
On Fri, May 6, 2022 at 11:48 PM Thiebo wrote: > Hi everyone, > > I have these classes: > > class User < Sequel::Model > one_to_one :password > one_to_many :old_password > end > > class Password < Sequel::Model(:user_password_hashes) > many_to_one :user > end > > that correspond to the