Skip to content

Rails Gem to Organize your models by a historical popularity value

License

Notifications You must be signed in to change notification settings

ForgeApps/popularable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

popularable

Add management for ordering your models by a historical popularity value.

Installation

gem 'popularable'

$ bundle install
$ bundle exec rails g popularable:install
$ bundle exec rake db:migrate

Usage

class Widget < ActiveRecord::Base
  include Popularable::Concern
  
  
widget.first.bump_popularity!

About

Rails Gem to Organize your models by a historical popularity value

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages