Created
May 30, 2010 21:22
-
-
Save captproton/419340 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ActionController::RoutingError in Portfolio#show | |
| Showing vendor/plugins/refinerycms-portfolio/app/views/portfolio/show.html.erb where line #31 raised: | |
| portfolio_project_url failed to generate from {:action=>"show", :controller=>"portfolio", :id=>#<PortfolioEntry id: 1, title: "first image", body: "<p>Lorem ipsum dolor sit amet, consectetur adipisic...", position: nil, parent_id: nil, created_at: "2010-05-29 16:10:13", updated_at: "2010-05-29 16:10:13">}, expected: {:action=>"show", :controller=>"portfolio"}, diff: {:id=>#<PortfolioEntry id: 1, title: "first image", body: "<p>Lorem ipsum dolor sit amet, consectetur adipisic...", position: nil, parent_id: nil, created_at: "2010-05-29 16:10:13", updated_at: "2010-05-29 16:10:13">} | |
| Extracted source (around line #31): | |
| 28: $(document).ready(function(){ | |
| 29: $("ul#portfolio_images li a.pale img").fadeTo(0, 0.3); | |
| 30: | |
| 31: $('#portfolio_entry_to_param').change(function() { | |
| 32: window.location = "<%= RefinerySetting.find_or_set(:multi_level_portfolio, true) ? portfolio_project_url(@master_entry, nil) : portfolio_project_url(@master_entry) %>" + this.value; | |
| 33: }); | |
| 34: | |
| RAILS_ROOT: /Users/heathertanner/Sites/fugu.heroku.com | |
| Application Trace | Framework Trace | Full Trace | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:427:in `raise_named_route_error' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/routing/route_set.rb:388:in `generate' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/url_rewriter.rb:208:in `rewrite_path' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/url_rewriter.rb:187:in `rewrite_url' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/url_rewriter.rb:165:in `rewrite' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/base.rb:625:in `url_for' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_view/helpers/url_helper.rb:85:in `send' | |
| /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_view/helpers/url_helper.rb:85:in `url_for' | |
| (eval):21:in `portfolio_project_url' | |
| Request | |
| Parameters: | |
| {"id"=>"first-image"} | |
| Show session dump | |
| Response | |
| Headers: | |
| {"Content-Type"=>"text/html", | |
| "Cache-Control"=>"no-cache"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment