modifying ActiveRecord::Base - where?

Ara.T.Howard
Tue, 06 Dec 2005 05:16:14 -0000

i need to add a method to ActiveRecord::Base.  to be specific

   class ActiveRecord::Base
     def self::restful *a
       @restful = a.shift || @restful
     end
   end

so i can

   class MyModel < ActiveRecord::Base
     has_one :foobar
     restful true
   end

where is the currently preferred location to place a file which does this?

-a
--
==============================================================================|
ara [dot] t [dot] howard [at] noaa [dot] gov
| all happiness comes from the desire for others to be happy.  all misery
| comes from the desire for oneself to be happy.
| -- bodhicaryavatara
===============================================================================