Displaying 4 results from an estimated 4 matches for "howtoroutegenericurlstoacontroller".
2006 Jun 26
2
passing link text as parameter to a controller..
How do i pass the link text as a parameter to a controller i want to
pass the string rather than the id???
Is there any way how can I do that?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 07
3
Dinamic controller
Is it possible to make a Rails app respond to a "dinamic" controller?
As I understand method_missing can be used inside a controller to
respond to nonexisting methods, is it possible to provide a similar
behavior at a controller level? I am not sure at whic level would this
code be inserted...
--
An?bal Rojas
http://www.lacaraoscura.com/
anibalrojas@gmail.com
2006 Jan 19
8
Pagination_links without "?page=" but with params[:id]
Hello,
With default pagination I have this :
<a href="/users/infos/3?page=1">1</a>
<a href="/users/infos/3?page=3">3</a>
but i need this :
<a href="/users/infos/1">1</a>
<a href="/users/infos/3">3</a>
I need to remove the "?page=" parameters and rewrite a little the link ( with a link_to ? )
2005 May 25
2
URLS and Human Factors
This post addresses URLs generated by Ruby on Rails from a human
factors point of view.
Allow me to use Hieraki as an example. Hieraki is a great
application. It was one of my first introductions to the power of
Ruby on Rails.
Scenario: When I navigated to Chapter 1 of a book the URL in my
address bar was http://www.library.com/read/chapter/6. This
inconsistancy ("Am I on Chapter 1 or