search for: activity_observ

Displaying 1 result from an estimated 1 matches for "activity_observ".

Did you mean: activity_observer
2005 Dec 07
3
ActiveRecord::Observer problem
...@al.user_id = User.current.id @al.customer_id = User.current.customer_id @al.object_type = model.class.name @al.object_id = model.id end end and class ActivityLog < ActiveRecord::Base set_table_name "activity_log" end in my local_environment.rb require ''lib/activity_observer'' ActivityObserver.instance why does nothing ever seem to happen when I create a new Customer? I expect the database to be populated and the log to be updated, but neither happens Looking at the WhitespaceKiller and the api docs, I don''t t hink I''m doing anything w...