Plugins - acts_as_hot_record

StarAdd to favorites

ActsAsHotRecord

=========

Usage

        * add acts_as_hot_record to any AR models
                class Hottable < ActiveRecord::Base
                        set_table_name 'hottables'
                        acts_as_hot_record
                end
        * add hot columns to your tables
                class CreateHottables < ActiveRecord::Migration
                  def self.up
                    create_table :hottables , :force => true  do |t|
                        t.column :name,        :string
                        t.column :meta,         :string
                        Hottable.generate_hot_columns t
                    end
                  end
                end

Features

    * Make record hot at any model
    * Find objects by hotness_level
    * Extensively tested
    * Migration Helper for columns

Marjun Pagalan

http://code.google.com/p/acts-as-hot-record/

http://acts-as-hot-record.googlecode.com/svn/trunk/acts_as_hot_record/

Rails' (MIT)

  • Currently 4.6/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Model

Tags

Comments

Add a comment

Search Plugins

Query syntax

Plugins by Category

Sponsors

Rails Kits: Get Code. Get Moving.

Have a comment?