Can I do sort of a mass insertion?.  Meaning - I have one path created, 
then I'm stacking the the folders / files up before I do `path.add_folder ` 
.

On Friday, September 29, 2017 at 4:35:45 PM UTC-6, Jeremy Evans wrote:
>
> path is not set here, so the value of path here is nil, hence the 
> NoMethodError add_folder for nil:NilClass
>
> I'm guessing you should add something like:
>
>   path = Path.create(path: x)
>
> to the elsif branch or move the existing Path.create call to before the if 
> branch.
>
> Thanks,
> Jeremy
>

More work to go but thank you. I'm wondering though if 
 

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to