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%[email protected]>
> .
> 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