Jonathan Dobbie wrote:
I want to launch some controller methods in application.rb
< from a script, so I'm trying to use the console to help write it.
?> require "app/controllers/application.rb"
It looks like you might be using irb rather than the console. irb is just Ruby. script/console loads your development (i.e., Rails) environment.