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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs