I've tried, but I can't figure out how to replace $1 with a permalink
variable thats in ruby on rails. Im pretty sure regex cannot help me
with this, I need to take the permalink value, and use that in the
redirect.

PLEASE JUST TELL ME AND ILL LEARN, I DONT JUST TAKE THE ANSWER AND BE
DONE WITH IT, I LEARN FROM IT.

Please Help,

Thanks In Advnce,

Joe

On 29 June, 18:44, Hassan Schroeder <hassan.schroe...@gmail.com>
wrote:
> On Tue, Jun 29, 2010 at 10:11 AM,  <yout...@dev-hq.co.uk> wrote:
> > I've already read this, and still don't understand.
>
> As I said, it's using regular expressions, and *you* need to figure out
> how they work. Find a regex tutorial, open up irb and play around.
>
> Then, or even before, use the examples in the Rack::Rewrite docs to
> experiment. It'll take less time to *just try it* than to compose an email.
> And at least you'll be able to say "here's what I want, here's what I've
> tried, here are the results".
>
> FWIW,
> --
> Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
> twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to