Class Merb::Rack::Console
In: lib/merb-core/rack/adapter/irb.rb
Parent: Object

Methods

Public Instance methods

Ends a sandboxed session (delegates to any Merb::Orms::* modules).

An ORM should implement Merb::Orms::MyOrm#close_sandbox! to support this. Usually this involves rolling back a transaction.

Starts a sandboxed session (delegates to any Merb::Orms::* modules).

An ORM should implement Merb::Orms::MyOrm#open_sandbox! to support this. Usually this involves starting a transaction.

Prints all routes for the application.

Explictly show logger output during IRB session

Parameters

name<~to_sym, Hash>:The name of the route to generate.
params<Hash>:The params to use in the route generation.

Returns

String:The generated URL.

Alternatives

If name is a hash, it will be merged with params.

[Validate]