Displaying 7 results from an estimated 7 matches for "rewrite_path".
2006 Feb 27
0
Mapping '':action/:id/:controller/'' doesn''t work
...s/actionpack-1.11.2/lib/
action_controller/routing.rb:419:in `generate_path''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/routing.rb:415:in `generate''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/url_rewriter.rb:44:in `rewrite_path''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/url_rewriter.rb:11:in `rewrite''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/
action_controller/base.rb:448:in `url_for''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action...
2007 Sep 21
1
generating nested resource path
...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/actionpack-1.13.3/lib/
action_controller/url_rewriter.rb:69:in `rewrite''
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/base.rb:522:in `url_for''
--~--~---------~--~----~------------~-------~--~----~...
2007 Oct 01
0
View Spec - Misbehaving
...on_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/actionpack-1.13.3/lib/action_controller/url_rewriter.rb:69:in
> `rewrite''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:522:in
> `url_for''
> /usr/lib/ruby/gems/1.8/gems/actionpack-1....
2007 Sep 10
6
RSpec view spec writing problem (unable to generate url_for in RESTful resource link_to)
...#{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:in
`rewrite''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:522:in
`url_for''
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb:27:in
`url_for&...
2007 Nov 20
3
How to test views with Nested Resources and Partials
...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''
vendor/rails/actionpack/lib/action_controller/url_rewriter.rb:81:in
`rewrite''
vendor/rails/actionpack/lib/action_controller/base.rb:605:in
`url_for''
vendor/rails/a...
2008 Aug 19
5
RSpec raising routing errors where Rails doesn''t?
Hopefully someone here can help me figure out why the ERB:
<% form_for(@fund, :url => {:host => PRIVATE_HOST}, :html => {:class
=> ''fund'', :multipart => true}) do |f| %>
raises an error in my specs:
No route matches {:action=>"index"}
but works fine in my app and generates the following, desired HTML:
<form
2009 Jan 16
16
Testing arbitrary post action parameters
I am working on our (newly renamed) authentication feature. The current
scenario is:
Scenario: Non-administrators should not set administrator ability
Given I have no users
And I add a user named "admin" as an administrator
And I add a user named "myuser" as not an administrator
When the user named "myuser" authenticates
And the user