Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include observable in all activerecord models

  • Loading branch information...
commit 45bf25c4a3980a3c3a421d4b816e5be439312128 1 parent d681b63
@jamesgolick authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  rails/init.rb
View
1  rails/init.rb
@@ -1 +1,2 @@
ActiveRecord::Base.send(:include, Observational::ActiveRecordObservers)
+ActiveRecord::Base.send(:include, Observational::Observable)
Please sign in to comment.
Something went wrong with that request. Please try again.