Skip to content
Sections
>> Trisquel >> 套件 >> etiona >> ruby >> ruby-rails-observers
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: ruby-rails-observers  ]

套件: ruby-rails-observers (0.1.2-1)

toolkit to build Rails observers (part of Rails)

This package contains two observers: Active Record Observer and Action Controller Sweeper.

Active Record Observer classes respond to life cycle callbacks to implement trigger-like behavior outside the original class. This is a great way to reduce the clutter that normally comes when the model class is burdened with functionality that doesn't pertain to the core responsibility of the class.

Active Record Sweepers are the terminators of the caching world and responsible for expiring caches when model objects change. They do this by being half-observers, half-filters and implementing callbacks for both roles.

其他與 ruby-rails-observers 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    套件暫時不可用
  • dep: ruby-activemodel (>= 4.0)
    toolkit for building modeling frameworks (part of Rails)

下載 ruby-rails-observers

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11.8 kB80 kB [文件列表]