Nick Hoffman wrote:
> Hi Ashit. Another thing that you can do is test out the various URL
> and path helpers in your app's console. For example:
> 
> $ script/console
> Loading development environment (Rails 2.1.0)
>>>
> ?> app.photos_url
> => "http://www.example.com/photos";
>>>
> ?> app.photos_path
> => "/photos"
>>>
> ?> quit
> 
> Cheers,
> Nick

good one
Thanks
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to