Pedro Cobos


220 Experience
2 Lessons Completed
0 Questions Solved


Hey, Fahad. I was wondering if you figure this issue out? I am currently trying to do the same but I'm getting the following error after using

undefined method `attachment' for #Foo:0x00007fb9408234c0

Any idea on how to proceed? thanks.

Posted in Create a User Profile after saving a Devise User

Hey guys, how's it going? I was wondering, is the #create_profile method a helper or is it a custom method? If it's a custom method, where are you guys adding it? My guess is that it should go on the User model. Any help would be appreciated, thanks a lot.