On Thu, Jan 19, 2012 at 6:17 PM, JezC <[email protected]> wrote:
> Done. Checked using the Github UI - models are present.
>
> Re-checked crash using webrick and success using unicorn. Have not
> tried any other servers.
>
> Dead easy to reproduce, probably:
>
> bundle install
> rails s
>
> Then create an account, navigate to "Organisation" and "Create New
> Organisation". End of server.

All I can say is "it works for me".  Can somebody else try it?

thanks,
Bryan


>
> Cheers, JeremyC.
>
> On Jan 19, 4:19 pm, Bryan Larsen <[email protected]> wrote:
>> I pulled your code to look into this.   We shouldn't be having crashes
>> on webrick.   However, you say it crashes when you add an
>> organization, but there is no organization model!   Could you update
>> your repository so I can look again?
>>
>> thanks,
>> Bryan
>>
>>
>> On Tue, Jan 17, 2012 at 5:10 PM, JezC <[email protected]> wrote:
>> > Ah ha. It's webrick. As a result of trying to debug a different
>> > problem, I switched to unicorn as the web server. The problem went
>> > away. Tried it on this problem, and webrick crashes, while unicorn
>> > runs.
>>
>> > So, newbie tutorial suggestion? Change the Gemfile and server start
>> > instructions to use 'unicorn'.
>>
>> > In the Gemfile, add the line:
>>
>> > gem 'unicorn', :group => :development
>>
>> > run 'bundle install'
>>
>> > then instead of 'rails s', run 'unicorn', which defaults to
>> > 127.0.0.1:8080 in a development environment.
>>
>> > Now off to see if this fixes some of the other problems I've run into.
>>
>> > Thanks for all the pointers!
>>
>> > On Jan 17, 5:26 pm, JezC <[email protected]> wrote:
>> >> Nested Accessible Model App that crashes for 
>> >> me...https://github.com/JezC/Hobo-Nested-Accessible-Models
>>
>> >> Not sure what to post here to make it easier than a "pull me now"
>> >> git :)
>>
>> >> Thanks, JeremyC.
>>
>> >> On Jan 17, 2:01 pm, Bob Sleys <[email protected]> wrote:
>>
>> >> > I don't know what the problem is but I can see it's possible to have 
>> >> > many
>> >> > levels of nested models with , :dependent => :destroy, , :accessible =>
>> >> > true.  I have a fairly complex setup myself going 7 levels deep with one
>> >> > many-to-many mixed in and a few other wrinkles I it's all working fine.
>> >> >  Not that I didn't have my own share of bumps and cry's for help along 
>> >> > the
>> >> > way.
>>
>> >> > Perhaps you could try to isolate the error down to a couple of
>> >> > simple models that demonstrates the problem and post them here.
>>
>> >> > Bob
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Hobo Users" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to 
>> > [email protected].
>> > For more options, visit this group 
>> > athttp://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/hobousers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to