Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-rails-observers
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: ruby-rails-observers  ]

软件包: ruby-rails-observers (0.1.5-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 13.6 kB81 kB [文件列表]