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 :
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
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