Ok, here's the traceback. Any "old" users from the 0.7.0 hobo
database throw this on on login, but new users are fine. Its as if
the old model is missing something that allows it to bind to a user
for the given session.
NoMethodError in Front#index
Showing app/views/front/index.dryml where line #1 raised:
undefined method `user' for #<User:0x1062eb6f0>
Extracted source (around line #1):
1: <page title="Centcom 3.0">
2:
3: <body: class="front-page"/>
4:
Application Trace | Framework Trace | Full Trace
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/activerecord-2.3.5/lib/active_record/
attribute_methods.rb:260:in `method_missing_without_find_for'
/Users/jason/.gem/ruby/1.8/gems/hobo-1.0.1/lib/hobo/find_for.rb:48:in
`method_missing'
/Users/jason/Documents/MACTROOPERS/Applications/Centcom 2.0/centcom/
app/models/user.rb:133:in `view_permitted?'
app/views/taglibs/themes/clean/clean.dryml:2:in `page'
app/views/taglibs/themes/clean/clean.dryml:1:in `page'
app/views/front/index.dryml:1:in `render_page'
app/views/front/index.dryml:1:in `render_page'
Request
Parameters:
None
Show session dump
Response
Headers:
{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}
--
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.