console_app.rb

Path

railties/lib/console_app.rb

Modified

Mon Dec 01 19:24:32 -0500 2008

Required Files

  • active_support/test_case
  • action_controller

Methods

Public Instance methods

app (create=false)

reference the global "app" instance, created on demand. To recreate the instance, pass a non-false value as the parameter.

new_session () {|session if block_given?| ...}

create a new session. If a block is given, the new session will be yielded to the block before being returned.

reload! ()

reloads the environment