Forum: Ruby on Rails How call model for the name

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ccf0f43fe1adcaf0992e9576f0eb4494?d=identicon&s=25 Marcelo Junior (Guest)
on 2007-03-27 18:33
How call model for the name, for example:

def my_action(model)
  model.find :all

<%= my_action :Client %>

ps.: That has to be in String, therefore  I call for a URL
This topic is locked and can not be replied to.