• R/O
  • HTTP
  • SSH
  • HTTPS

time_frame: Repository summary

This plugin defines singleton method time_frame which defines named scope 'unexpired'


Recent Commits RSS

Rev. Time Author Message
e1f9966 2009-12-09 18:40:45 (del#39370) master remove unused file
926917a 2009-12-09 16:19:12 (del#39370) initialize repository

Branches

Name Rev. Time Author Message
master e1f9966 2009-12-09 18:40:45 (del#39370) remove unused file

README

ActsAsPeriodic
==============

This plugin defines singleton method time_frame which defines named scope 'unexpired'

Examples
========

Ticket model must hava culumns 'inception' and 'expiry'.

  class Ticket < ActiveRecord::Base
    time_frame # defines named_scope 'unexpired'
  end


Show on old repository browser