Accessing controllers in script/console

Hi list,

I was wondering: is there a simple way to load/create controllers from
within the rails’ console?
It seem that they are not loaded by default, and I can’t just do
something like
require ‘app/controllers/foo’
since the controller would be missing all of the mixed-in Helpers
Is there some easy thing I can do to autoload all the
controllers/helpers?

Thanks in advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs