Displaying 5 results from an estimated 5 matches for "raise_named_route_error".
2007 Sep 10
6
RSpec view spec writing problem (unable to generate url_for in RESTful resource link_to)
...ent of this actor
to this use case", :confirm => ''Are you sur
e you want to remove this assignment?'', :method => :delete})-%>
24: </li>
25: <% end %>
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:1273:in
`raise_named_route_error''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/routing.rb:1245:in
`generate''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:104:in
`rewrite_path''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:69:i...
2007 Sep 04
1
Routing error with nested resources
...urce.
The function client_property_path( client, property ) returns the
correct url -- "/clients/1/client_properties/2" -- but the routing then
fails on this with the following error:
<ERROR>
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1273:in
`raise_named_route_error'': client_property_url failed to generate from
{:client_id=>"2", :controller=>"client_properties", :action=>"show"},
expected: {:controller=>"client_properties", :action=>"show"}, diff:
{:client_id=>"2"}
</ERRO...
2007 Sep 21
1
generating nested resource path
...aign_id=>"7", :controller=>"attachments"},
expected: {:action=>"show", :controller=>"attachments"}, diff:
{:content_campaign_id=>"7"}):
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/routing.rb:1273:in `raise_named_route_error''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/routing.rb:1245:in `generate''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/url_rewriter.rb:104:in `rewrite_path''
/usr/local/lib/ruby/gems/1.8/gems/actionp...
2007 Oct 01
0
View Spec - Misbehaving
...<%= link_to @container.parent.name,
> parent_org_path(@container, :action => ''show'') %>
> 12: </span>
> 13: </div>
> 14:
>
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1273:in
> `raise_named_route_error''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1245:in
> `generate''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/url_rewriter.rb:104:in
> `rewrite_path''
> /usr/lib/ruby/gems/1.8/gems/ac...
2007 Nov 20
3
How to test views with Nested Resources and Partials
...>
contract_line_item_path(@contract.id), :html => { :method => :put }) do
|f|
7: = render :partial => "form", :locals => { :f => f }
8:
9: %p
app/views/line_items/edit.haml:6
vendor/rails/actionpack/lib/action_controller/routing.rb:1406:in
`raise_named_route_error''
vendor/rails/actionpack/lib/action_controller/routing.rb:1370:in
`generate''
vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:124:in
`rewrite_path''
vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:103:in
`rewrite_url''
ven...