ardent
ardent copied to clipboard
Automatically hydrate related model
Hello,
is there a way to automatically hydrate related models?
For example: a User with one Address
The create user form has the following elements:
<input name="email" type="text">
<input name="password" type="password">
<input name="address.city" type="text">
Is Ardent somehow able to get the User -> Address relation automatically and fill the Address model or has it to be filled and saved separately?
Thank you for a short reply
It doesn't look like it does this. However, this would be grand!
:+1:
I'm using address[city] instead of address.city. It works for me!
Thanks for this tip, will try it :)
Your welcome, let me know if it worked @synlag!