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