Skip to content
Browse files

Allows use of OFC in models without needing to require it

  • Loading branch information...
1 parent 77e7368 commit 20a782d4363a7b543353de4d268f0c4722323f5e @harryseldon harryseldon committed Dec 19, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 init.rb
3 init.rb
@@ -4,3 +4,6 @@
OpenFlashChart::Base.send :include, OpenFlashChart::View
ActionController::Base.send :include, OpenFlashChart::Controller
ActionController::Base.send :include, OpenFlashChart
+ActiveRecord::Base.send :include, OpenFlashChart::View
+ActiveRecord::Base.send :include, OpenFlashChart::Controller
+ActiveRecord::Base.send :include, OpenFlashChart

1 comment on commit 20a782d


More info here :

Please sign in to comment.
Something went wrong with that request. Please try again.