try changing User.get_title to user.get_title
you are trying to access a method on the class instead of on the instance.

Cheers
Simon


On Fri, 28 Nov 2008 13:28:23 +0900, Valentino Lun  
<[EMAIL PROTECTED]> wrote:

>
> Dear all
>
> I encounter error when I login my Web application
> NoMethodError in AdminController#login
> undefined method `get_title' for #<Class:0x63ac78>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to