Hello!
We all know that we expose the resources in the config/routes.rb
like this:
map.resources :account
This create a named url. But how can I iterate through all the
available named routes?
Regards,
Mohsin
Hello!
We all know that we expose the resources in the config/routes.rb
like this:
map.resources :account
This create a named url. But how can I iterate through all the
available named routes?
Regards,
Mohsin
On 4 Mar 2008, at 12:44, MohsinHijazee wrote:
Hello!
We all know that we expose the resources in the config/routes.rb
like this:map.resources :account
This create a named url. But how can I iterate through all the
available named routes?
Does rake routes do what you want?
Fred
On Mar 4, 6:17 pm, Frederick C. [email protected]
wrote:
This create a named url. But how can I iterate through all the
available named routes?Does rake routes do what you want?
Fred
No it has to be actually in the code. let me see the code of the
routes task then…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs