I'm new to Rails myself, but I don't think you have a restful issue
here. I'll make a couple of assumptions:
You are calling the new page using a link_to helper and you are
calling the show action.
In your link_to, you probably see a restful named route called
something like pages_path(title). The sometitle is an instance
variable holding the ID field. You simply want to replace that with
title.sometitle. That will provide you the url you want.
But, that is only the first half. The receiving action, presumably
show, expects the ID, something like: Pages.find(params[:id]). You
will need to change that to Pages.find_by_title(params[:title]
[:sometitle], or something similar. This assumes title is a field in
the table pages.
Thanks guys, I'll save this thread and refer to it again. I find a lot
of things in Rails seem to take me a lot longer to understand than they
should:)
It's great that you're already trying to adhere to RESTful principles,
though! Many newcomers to Rails don't start that way and end up
feeling the pain later.