Sunday, January 31, 2010

[Rails] Paginator

hey i m getting an error wen i do da paginating stuff..can u help meh?
n it says ActionController does not contain 'super' method.. bt books
say its valid..y?

Error:
uninitialized constant ApplicationController::Paginator

RAILS_ROOT: /root/knowledge_engine
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:105:in
`const_missing'
/root/knowledge_engine/app/controllers/application_controller.rb:45:in
`paginate'
/root/knowledge_engine/app/controllers/posts_controller.rb:7:in `index'
--
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@googlegroups.com.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate