Displaying 4 results from an estimated 4 matches for "platform_filter".
2006 May 18
6
Routes and Testing Routes
...to this route:
http://mysite.com:3000/all/eudora/7.0.1/windows/download/5
Here''s how I *think* the match is determined:
1. Rails looks at the first portion of the url--"all"--and checks to
see if it will be accepted by my route. It matches my regex
constraint, so platform_filter => "all" is set.
2. Rails inspects the next url item--"eudora"--checks to see if it
matches my mapping constraint. There is no constraint, so it
matches, sets :software => "eudora".
3. Rails inspects the next url item--"7.0.1"--checks...
2006 May 18
2
Help with Routes
...rl will map to this route:
http://mysite.com:3000/all/eudora/7.0.1/windows/download/5
Here''s how I think the match is determined:
1. Rails looks at the first portion of the url--"all"--and checks to
see if it will be accepted by my route. It matches my regex constraint,
so platform_filter => "all" is set.
2. Rails inspects the next url item--"eudora"--checks to see if it
matches my mapping constraint. There is no constraint, so it matches,
sets :software => "eudora".
3. Rails inspects the next url item--"7.0.1"--checks to see if...
2006 Jun 08
8
Routing help.... it is so difficult!
hi guys, sorry to trouble you all but i really dont understand how this
routing thing work... it seems easy but it just dont work for me!
here''s the situation :
my url b4 : http://127.0.0.1:3001/admin/login
my url after: http://127.0.0.1:3001/burninglegion/admin/login
i wanna do something like this so i went to the routes.rb and type this:
ActionController::Routing::Routes.draw do
2006 May 17
0
Strang Behavior when testing Routes
I have the following route:
[code]
map.connect
'':platform_filter/:software/:version/:platform/:distribution_channel/:id'',
:controller => ''user/version'',
:platform_filter => /all/,
:platform => /windows|macintosh|unix|linux/,
:distribution_channel => /Download|download/,
:action => ''download...