Tip: has_one and nested form/attributes
Although, the usage of nested forms with has_many associations is well documented, I found that especially the call
E.g book.build_author where book has_one association to author.
Hope this helps.
Although, the usage of nested forms with has_many associations is well documented, I found that especially the call
E.g book.build_author where book has_one association to author.
Hope this helps.
Copyright © 2010 Webintellix. All rights reserved.
Yes. It actually helped a lot. Thanks for the heads up!
@Pedro,
Glad it helped you. I try to post things that I got stuck and scratched my head. Good luck!