Thank you Owen that was very helpful indeed.

However I do have one last problem....

So I have an admin subsite which works beautifully... if the
users_controller in the root is a hobo_user_controller, which I am
really trying to avoid as my main site is an XML service and is
completely separate from anything hobo.

I have been playing with if for about a day now and I can see that the
users_controller in the root is used for the authentication system
only and then the users_controller in admin is used for rendering the
subsite and does so correctly....

Do you know of a way that I could have the authentication system (the
root users_controller) to operate and live only from within my
subsite?

Many thanks in advance for all your help

Chris

On Mar 7, 10:30 pm, Owen Dall <[email protected]> wrote:
> Have you seen Bryan's Tutorial #24 in "Rapid Rails with Hobo" , called
> "Creating an Administration Sub-Site"?
>
> http://hobocentral.net/books
>
> http://screencast.com/t/NTA5M2Q3N
>
> Let us know if that doesn't help.
>
> -Owen
>
>
>
>
>
> On Sun, Mar 7, 2010 at 4:51 PM, Hero1000 <[email protected]> wrote:
> > Hi, I trying to make an admin site for a rails xml web service and
> > seem to be having a whole host of different problems.
>
> > One of them is easily repeatable - if you make a new hobo app, and
> > then generate an admin site and visit it you receive the error
> > undefined method `signup_form'...
>
> > Extracted source (around line #17):
>
> >  <% if User.count == 0 -%>
> > 15:           <h3 style="margin-top: 20px;">There are no user accounts
> > - please provide the details of the site administrator</h3>
> > 16:           <do with="&User.new"><% this.exempt_from_edit_checks =
> > true %>
> > 17:             <signup-form/>
> > 18:           </do>
> > 19:         <% end -%>
>
> > How can I get around this?
>
> > Also I am using my own user model, but for the authentication system
> > to work i have had to generate a user model and then make the
> > appropriate changes to it.  Which seems fine, and I can log in and out
> > ect.  Then for reasons still unknown to me suddenly the authentication
> > bar at the top completely disappears and I am left with no active
> > system at all.  What would cause this?
>
> > Many thanks in advance for any thoughts.
>
> > Chris
>
> > --
> > 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]<hobousers%2bunsubscr...@googlegroups 
> > .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/hobousers?hl=en.
>
> --
> Thanks,
> - Owen

-- 
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