Hello , i stall will_paginate plug in by using
mkdir vendor/plugins/will_paginate wget -nv http://github.com/mislav/will_paginate/tarball/master -O- | \tar xzv -C vendor/plugins/will_paginate --strip 1 i get this
mislav- will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/.gitignore mislav- will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/.manifest mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/ CHANGELOG.rdoc mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/LICENSE mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/ README.rdoc mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/Rakefile mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/ examples/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/examples/ apple-circle.gif mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/examples/ index.haml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/examples/ index.html mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/examples/ pagination.css mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/examples/ pagination.sass mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/init.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/array.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/collection.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/core_ext.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/finder.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/named_scope.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/named_scope_patch.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/version.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/lib/ will_paginate/view_helpers.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ boot.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ collection_test.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ console mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ database.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ finder_test.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/admin.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/developer.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/developers_projects.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/project.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/projects.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/replies.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/reply.rb 2009-04-02 13:11:00 URL:http://download.github.com/mislav- will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556.tar.gz [36217/36217] -> "-" [1] mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/schema.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/topic.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/topics.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/user.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ fixtures/users.yml mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ helper.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ lib/ mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/lib/ activerecord_test_case.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/lib/ activerecord_test_connector.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/lib/ load_fixtures.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/lib/ view_test_process.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ tasks.rake mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/test/ view_test.rb mislav-will_paginate-8888651be8d6656bdf2378731d91a8badbaa2556/ will_paginate.gemspec >>>>>>>>>>>>>>>>>>> after that i go to config/environments.rb add the require "will_paginate" at the bottom
and try the script
s = Seq.paginate(:page => 1, :per_page => 5)
NameError: uninitialized constant Seq::Post from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:105:in `const_missing' from /home/apple/www/rcc_eri/app/models/seq.rb:7 from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:380:in `load_without_new_constant_marking' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:380:in `load_file' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:521:in `new_constants_in' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:379:in `load_file' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:259:in `require_or_load' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:425:in `load_missing_constant' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:80:in `const_missing' from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:92:in `const_missing' from (irb):2
pls ,tell me what i missing?
thank you