Using Build Or New On A Has_one Assoication In Rails

Posted by Weston Ganger

If you need to use build or new on a has_one association, its a little different then the has_many.

# has_many, this will throw errors on a has_one
# OR

# on a has_one association

Related External Links:

Article Topic:Software Development - Rails

Date:May 05, 2015

Recommended Posts



Send Me A Message

I would love to get in touch and talk about your next project. Feel free to send a message and I will get back to you shortly.

Get Connected