something very odd is going on, when I put in the url
http://mysite/blabla/bla/21
it will only see the 2 and ignore the 1 instead of getting the full id "21"
obviously this is causing a lot of issues in my application.. I am looking and looking and cant find whats going on..
any ideas what im doing wrong? I have look all over..
here is some code snips
here is more info from the log as you can see the url has 11 and the
ID
only gets 1
Parameters: {"format"=>"1", "action"=>"roster", "id"=>"1",
"controller"=>"rosteritems"}
Completed in 0.00100 (999 reqs/sec) | Rendering: 0.00015 (14%) | DB:
0.00000 (0%) | 406 Not Acceptable
[xxxxxxxx.info - contact with domain owner | Epik.com]
What is fomat =>1 ? is the first time I see it.. this may be the
cause..?
Have you got something interesting in your routes.rb ? (the format
parameter is usually there so that you can link to foo.xml which
provides the xml representation of foo, or one that will provide json
etc...)