user_url(userId) view method in Rails2.2



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.