Forum: Rails deployment user_url(userId) view method in Rails2.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Kumar C. (Guest)
on 2009-02-18 08:00
Hi,

Previously, I worked using Rails-1.2.3 version.

Present, I am using Rails 2.2.

I have used command to generate scaffold.
In scaffold generation, 'users_controller.rb', 'user.rb' files were
generated automatically.

Here, I am able to use user_url(userId) method in views. It is giving
url for user's show page.

I got surprise. I didn't observe this method in user_helper.rb. But, I
am able to use this.

Actually, where will be defined above method.

Please, clarify my doubt.

Thanks in Advance.

kumar
This topic is locked and can not be replied to.