I had a very basic question as to, how does rails encodes UR

Hi,

I had a very basic question as to, how does rails encodes URl’s ?

Eg.

1> http://my.shop.com/store/show_product/123

and in

2> http://my.blog.com/blog/2005/07/04

Regards,

Piyush G.

99161-33729

Piyush G. wrote:

Hi,

I had a very basic question as to, how does rails encodes URl’s ?

Eg.

1> http://my.shop.com/store/show_product/123

and in

2> http://my.blog.com/blog/2005/07/04

Regards,

Piyush G.

99161-33729

http://ctrlshiftesc.blogspot.com/

You basically use config/route.rb :slight_smile:

blog/:year/:month/day

something like that, and then you can put the requirements if you want
so…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs