rails console access routes code example Example: rails include route helpers in console include Rails.application.routes.url_helpers