Hey campers,
I'm wondering if any of you know a better solution to skylerrichter's
problem: http://github.com/camping/camping/issues#issue/28
The basic idea is that he want to create a Company, and then the first
User in that Company:
@company = Company.create(
:name = @input.name,
@David Susco
I figured that was the way to do it. Thats what I tried the first time
but I seem to only be able to validate 1 item at a time. It only
validates the company model and it ignores the @user.valid? If I
rearrange my code so that the user gets saved first then only the user
validates
Dear Camping ninjas,
I've been using Camping via bin/camping and reloading works as expected OK.
What I have not been able to do is to correctly setup a Camping app
with reloading support in a standard config.ru rack app.
Thanks for your attention
--Omar Gómez
--
Follow me at:
Twitter:
3 matches
Mail list logo