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
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
You basically use config/route.rb
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs