Steps:  Create a new hobo app with RC.  Runs fine in development.  Using heroku 
gem, create a new heroku app, and push the new app to heroku.  It works, 
basically, but you get an error on the home page where the admin user is 
created.  This app has some modifications to the user model, but the same thing 
happens with a brand new empty app created with the generator.  Here is some 
log output:

2011-06-01T13:24:09+00:00 app[web.1]: Started GET "/" for 108.20.187.128 at Wed 
Jun 01 06:24:09 -0700 2011
2011-06-01T13:24:09+00:00 app[web.1]:   Processing by FrontController#index as 
HTML
2011-06-01T13:24:09+00:00 app[web.1]: Rendered front/index.dryml (116.7ms)
2011-06-01T13:24:09+00:00 app[web.1]: Completed   in 136ms
2011-06-01T13:24:09+00:00 app[web.1]: 
2011-06-01T13:24:09+00:00 app[web.1]: ActionView::Template::Error (undefined 
method `name' for nil:NilClass):
2011-06-01T13:24:09+00:00 app[web.1]:     62: 
2011-06-01T13:24:09+00:00 app[web.1]:     63:         <% if User.count == 0 -%>
2011-06-01T13:24:09+00:00 app[web.1]:     64:           <h3 style="margin-top: 
20px;">There are no user accounts - please provide the details of the site 
administrator</h3>
2011-06-01T13:24:09+00:00 app[web.1]:     65:           <form with="&this || 
User.new" without-cancel>
2011-06-01T13:24:09+00:00 app[web.1]:     66:             <field-list: 
fields="first_name, last_name, email_address, password, password_confirmation"/>
2011-06-01T13:24:09+00:00 app[web.1]:     67:             <submit: 
label="Register Administrator"/>
2011-06-01T13:24:09+00:00 app[web.1]:     68:           </form>
2011-06-01T13:24:09+00:00 app[web.1]:   
app/views/taglibs/auto/rapid/forms.dryml:18:in `form__for_user'




I have an app in production on heroku using pre25, so this is a newer problem 
than that (or I'm just making a mistake that I didn't make then).

Thanks for looking!

Mark


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