I'd suggest using pipes to pass the output of the padrino rake routes
command to awk
to filter only the lines which the name of your controller, or the number of the row is less than 4 (to include the preamble)
padrino rake routes | awk '/:your_controller_name/ || NR < 4'