Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3360424
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:59:27+00:00 2026-05-18T02:59:27+00:00

I have AS (as a plugin) working in another app just fine (I dont

  • 0

I have AS (as a plugin) working in another app just fine (I dont remember this
issue…) – its also using Rails 2.3.9, on same dev box.

Now trying to add it to a new app and getting this error when running
the webrick, script/server:

/Users/kimptoc/.rvm/gems/ruby-1.8.7-p302/gems/activesupport-2.3.9/lib/
active_support/core_ext/module/aliasing.rb:33:in `alias_method':
undefined method `number_of_pages' for class `Paginator' (NameError)
        from /Users/kimptoc/.rvm/gems/ruby-1.8.7-p302/gems/
activesupport-2.3.9/lib/active_support/core_ext/module/aliasing.rb:
33:in `alias_method_chain'
        from /Users/kimptoc/Documents/ruby/borisbikestats/vendor/plugins/
active_scaffold/lib/extensions/paginator_extensions.rb:9

I couldn’t find any previous references to this error.

Embarassingly I dont know which version of AS I am using successfully… it says 1.2RC1 in the CHANGELOG file, but I seem to remember trying a few of the forks…(is there somewhere I can see which fork is in use…). I have tried using the the ‘main’ activescaffold in the new project, but it fails as above, but so does using the same plugin that is in the working project 🙁

Thanks in advance for any pointers as to what I am doing wrong.

Thanks,
Chris

PS Just realised that new Rails was using Rails 3 and old/working one was 2.3.9. It seems you need to use an alternate branch of AS for Rails 3, like this : https://github.com/vhochstein/active_scaffold/wiki

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:59:27+00:00Added an answer on May 18, 2026 at 2:59 am

    This is just a guess, but built in pagination was removed in Rails 2 as I recall, and you needed to install the classic_pagination plugin to get that functionality back.

    I only used ActiveScaffold once, but the error there says paginator_extensions.rb … it’s probably monkey patching the old Rails paginator? Therefore the class exists but the number_of_pages method doesn’t.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this code that is working fine for me: using System; using System.Collections.Generic;
I have a jQuery plugin, supersized 3.2.7 working in Chrome and Firefox but just
I have used a plugin that uses prototype js, it's working fine but the
I'm using the Ruby oauth-plugin (version 0.4.0.pre7) to make my Rails (3.0.3) app an
I have a plugin for a c++ MFC app. I'm working with the developer
So I have working code that animates a BG image via a plugin. This
I have the jstree search plugin working fine inside a HTML page. The data
I have a web form that is using this awesome plugin and I'm trying
I've got my autocomplete plugin working perfectly... except I have certain info that I
I have added a plugin called scrollpaper to a site I'm working on. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.