RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: eric-norcross
Site: www.base10creations.com
There is a typo in the ASCIIcast; In the code block for adding the default url options it's specified as "- { host" but should be "= { host".
I got this figured out and posted the answer here: http://stackoverflow.com/questions/16839555/rails-cast-196-197-nested-model-generation/16867048#16867048
I tried adding this method for adding grandchildren but I get the error: undefined method 'klass' for nil:NilClass passing in :image as the child_association. Could you possible post your form code?
undefined method 'klass' for nil:NilClass
:image
There is a typo in the ASCIIcast; In the code block for adding the default url options it's specified as "- { host" but should be "= { host".
I got this figured out and posted the answer here: http://stackoverflow.com/questions/16839555/rails-cast-196-197-nested-model-generation/16867048#16867048
I tried adding this method for adding grandchildren but I get the error:
undefined method 'klass' for nil:NilClass
passing in:image
as the child_association. Could you possible post your form code?