Three quick Rails console tips

# Generate paths and URLs
> app.project_path(Project.last)
=> "/projects/34"

# Make requests
> app.get '/projects/34'
=> 200
> app.response.body
=> "<html> ..."

# Use helpers
helper.truncate("Foobar", length: 5)
=> "Fo..."
Henning Koch