module Rails::ConsoleMethods
def app(create = false)
reference the global "app" instance, created on demand. To recreate the
def app(create = false) @app_integration_instance = nil if create @app_integration_instance ||= new_session do |sess| sess.host! "www.example.com" end end