I think I did all you suggested and my code looks like
https://gist.github.com/894436
But I get the following error:
NoMethodError in FrontController#index
undefined method `<' for nil:NilClass
With stacktrace:
C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/
active_support/whiny_nil.rb:52:in `method_missing'
C:/repo-stage/app/controllers/application_controller.rb:24:in
`pass_expires'
for quick lookup - my application_controller.rb has new method:
def pass_expires
if current_user.pass_expires < Date.current
hobo.actions.account
end
end
Could you, please, give me a hint how to solve it?
--
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.