Jacob,
Regarding has_many and belongs_to, etc -- that is, class methods -- you can
use the singleton class in your `activate` method,
class Page
has_many :widgets
end
-or- in the `included` method of your module do a class_eval,
def included(base)
base.class_eval do
has_many :widgets
Adam Salter wrote:
Question:
Is there any difference in init/run time with a Rails app running
Rails from vendor/rails? I'd hope it was the same, but surely the
full gem install could cache more stuff?
It's probably a little slower with RubyGems, but I haven't run any
performance metrics
Oh, you need to explicitely require 'application' to load the
application controller - The application controller is not loaded until
after the extensions, which means that any reference to a controller
will be unable to load it's superclass (as the class is named
ApplicationController, but it is