have the following code in environment.rb

class ActiveRecord::Base
  extend Searchable
end

    in the lib folder there is searchable.rb and inside that there is
module Searchable

        My question is why do we define such a class in environment.rb
What is the actual purpose of this

Thanks in advance
Sijo
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to