I\'ve done some reading about how to extend ActiveRecord:Base class so my models would have some special methods. What is the easy way to extend it (step by step tutorial)?<
I have
ActiveRecord::Base.extend Foo::Bar
in an initializer
For a module like below
module Foo module Bar end end