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