Displaying 2 results from an estimated 2 matches for "todo_pages".
2006 Jul 12
2
Problem w/ Rails 1.1.4 and pagination_links using params?
I just installed version 1.1.4 and it seems like I started having
problems with the pagination_links method. When I call the method using
something like this (using the :params option--and this seems to be the
problem),
<%= pagination_links @todo_pages, :params => params %>
then it duplicates part of the controller in the generated url. For
example, before one of my paginator links would generate this:
http://localhost:3000/it/todos/list?page=2&complete=all
Now it is doing this:
http://localhost:3000/it/it/todos/list?page=2&com...
2006 Jan 22
3
Formatting input/output of a text box
Hello,
What''s the best way to handle formating of a text_area? I have a text_area
in my rails app where people can leave comments and I''d like to
automatically convert the line breaks into <br /> tags, or just simply wrap
a whole paragraph in <p></p> tags. I''m currently doing the following in my
comments controller to insert line breaks when the user