Skip to main content

Home/ WikiTechie/ Group items tagged observer

Rss Feed Group items tagged

al-Amjad Tawfiq Isstaif

Observer pattern - Wikipedia, the free encyclopedia - 0 views

  •  
    "The observer pattern (aka. Dependents, publish/subscribe) is a software design pattern in which an object, called the subject, maintains a list of its dependents, called observers, and notifies them automatically of any state changes, usually by calling one of their methods."
al-Amjad Tawfiq Isstaif

ruby on rails - How to get the current_user in a model observer? - Stack Overflow - 0 views

  •  
    " before_filter :set_current_user private def set_current_user User.current_user = #however you get the current user in your controllers end"
al-Amjad Tawfiq Isstaif

zilkey/active_model_listener - 0 views

  •  
    Simple, global ActiveRecord event observers, using a middleware architecture, that can easily be turned on and off. Designed for audit trails, activity feeds and other app-level event handlers
1 - 3 of 3
Showing 20 items per page