Dynamic routes

Hello !
I have a question.
I’m on Rails 3 and I’want to add dynamic routes in my Application.
I am succesuful with : File.open on a file : config/routes.rb but i’am
not satisfied by way.
Can not you do anything else to add a new dynamic route?
Thanks