get the same model in two time from a relation

6 views
Skip to first unread message

bo...@nexinun.com

unread,
Mar 20, 2019, 6:58:47 AM3/20/19
to Padrino Framework
Hello awsome,i want to know how to get the model in the same time from the same relation
i have user model
i also have recharge model that contains 2 différents user (user_id  and seller_id).
when i execute my program,all is god,but i don't know how recupère two différent user from the relation;the index file can only get one user in index.haml file
please ignore my poor english
take a look inside this image

index.PNG

rech.PNG

user.PNG

 
Reply all
Reply to author
Forward
0 new messages