Displaying 2 results from an estimated 2 matches for "show_user_roles_administrator_link".
2010 Nov 22
0
Rails-3.0.3 API change? Completed 406 Not Acceptable
...nstead of the expected page. This error
indicates that the format of the request cannot be satisfied. Usually
a
format specification is html or json or pdf. Imagine my surprise then
when I see in the html generated from the view template:
<td>
<a href="/user/roles.1"
id="show_user_roles_administrator_link">Roles</a>
</td>
instead of:
<td>
<a href="/users/1/roles"
id="show_user_roles_administrator_link">Roles</a>
</td>
The question is: Why is Rails 3.0.3 asking for a format of .1 instead
of
requesting a user with id == 1? Is this a b...
2010 Nov 22
0
Rails-3.0.3 gives Completed 406 Not Acceptable
...instead of the expected page. This error
indicates tha the format of the request cannot be satisfied. Usually a
format specification is html or json or pdf. Imagine my surprise then
when I see in the html generated from the view template:
<td>
<a href="/user/roles.1"
id="show_user_roles_administrator_link">Roles</a>
</td>
instead of:
<td>
<a href="/users/1/roles"
id="show_user_roles_administrator_link">Roles</a>
</td>
The question is: Why is Rails 3.0.3 asking for a format of .1 instead of
requesting a user with id == 1?
--
Posted...