> Is there a way to split up your controller modules into smaller modules?
> Eventually they can become unmanageable.
multiple controllers?
If you must have one controller, why not split the methods up into
modules and include them as mixins?
module PublicFooMethods
def index
end
end
module BlueFooMethods
def blue
end
end
class FooController << AC::Base
include PublicFooMethods
include BlueFooMethods
end
I''d save those mixins as separate files like
''lib/public_foo_methods.rb'' and
''lib/blue_foo_methods.rb'' so that
rails can find them for you.
--
rick
http://techno-weenie.net