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

  • Home
  • SEARCH
  • 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 7967849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:59:08+00:00 2026-06-04T06:59:08+00:00

I am working with Twitter’s new activerecord-reputation-system gem, yet it doesn’t seem to be

  • 0

I am working with Twitter’s new activerecord-reputation-system gem, yet it doesn’t seem to be registering in my app.

I ran to install (docs have a typo):

gem install activerecord-reputation-system && rails generate reputation_system && rake db:migrate

I’ve included it in my gemfile and tried pulling directly from github, as well as restarting my local server. The error is the following:

ActionController::RoutingError (undefined method has_reputation' for #<Class:0x007fa7ed783ec0>):
app/models/post.rb:18:in
‘
app/models/post.rb:1:in <top (required)>'
app/controllers/posts_controller.rb:1:in
‘

when I try to add votes to posts with this code:

class Post < ActiveRecord::Base
  belongs_to :user
  has_reputation :votes,
    :source => :user,
    :aggregated_by => :sum
end

When I try to add votes to users with the same code I get:

undefined method `has_reputation' for #<Class:0x007fa7efb70388>

app/models/user.rb:17:in `<class:User>'
app/models/user.rb:1:in `<top (required)>'
config/routes.rb:4:in `block in <top (required)>'
config/routes.rb:1:in `<top (required)>'

This error occurred while loading the following files:
   /Users/username/appname/config/routes.rb

routes.rb, Line 4:

devise_for :users, :controllers => { :omniauth_callbacks => “users/omniauth_callbacks” }

Any ideas?

  • 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-06-04T06:59:09+00:00Added an answer on June 4, 2026 at 6:59 am

    You should require reputation_system in your app. You can do this by adding to your Gemfile:

    gem 'activerecord-reputation-system', :require => 'reputation_system'
    

    Update: As of version 2.0.0 you don’t need to require reputation_system anymore:

    gem 'activerecord-reputation-system'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a ruby app that updates a twitter account using 'twitter' gem.
I just began working on a little twitter-app using tweepy. is there any kind
I am working on making a twitter client app. One of the requirement of
I am working on a Twitter app. By going through the oAuth documentation and
I am working with a java Twitter app (using Twitter4J api). I have created
I'm working with the Twitter Gem and I've created a long running ruby task.
I'm currently working on an app that works with Twitter, but while developing/testing (especially
I am working on a Rails 3.2.1 application with the twitter-bootstrap-rails gem. When in
I'm working on a twitter app for the iphone using oAuth/MGTwitterEngine The source it's
Hey I'm working on a twitter app for the iPad using the oAuth/MGTwitterEngine. It

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.