Hi, I am trying to use exception logger plugin, but I am getting this error: undefined method `paginate'' for #<LoggedExceptionsController: and I cant figure out why. I have generated migration, included the ExceptionLoggable module into ApplicationController (include ExceptionLoggable), added a new route to my routes.rb file, and I have even will_paginate gem installed (I am using it and it is working fine), but I get the error undefined method paginate. :( I am really lost. Can anybody help me out? THX -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Looks like your exception_logger hit the streets ready for Rails 1.2.6 maybe. logged_exceptions_helper.rb contains two references to ActionController::Pagination which is the way things used to be. Get this instead: git clone git://github.com/defunkt/exception_logger.git See site: http://github.com/defunkt/exception_logger/tree/master Rick On Dec 8, 9:26 am, Petan Cert <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I am trying to use exception logger plugin, but I am getting this error: > > undefined method `paginate'' for #<LoggedExceptionsController: > > and I cant figure out why. I have generated migration, included the > ExceptionLoggable module into ApplicationController (include > ExceptionLoggable), added a new route to my routes.rb file, and I have > even will_paginate gem installed (I am using it and it is working fine), > but I get the error undefined method paginate. :( > > I am really lost. Can anybody help me out? > THX > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Rick wrote:> Looks like your exception_logger hit the streets ready for Rails 1.2.6 > maybe. logged_exceptions_helper.rb contains two references to > ActionController::Pagination which is the way things used to be. > > Get this instead: > git clone git://github.com/defunkt/exception_logger.git > > See site: > http://github.com/defunkt/exception_logger/tree/master > > RickTHX Rick. Its fine now. Cheers, P. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---