# How call model for the name

**URL:** <https://www.ruby-forum.com/t/how-call-model-for-the-name/90312>\
**Category:** Rails\
**Created:** [March 27, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/how-call-model-for-the-name/90312 "2007-03-27T18:33:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_brownstone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/59ef9b/32.png) [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Post date:** [March 27, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/how-call-model-for-the-name/90312/1 "2007-03-27T18:33:02Z")

</div>

How call model for the name, for example:

def my\_action(model)  
model.find :all  
end

\<%= my\_action :Client %\>

ps.: That has to be in String, therefore I call for a URL
