#243 ✓resolved
Clemens Kofler

Routing filters don't work smoothly with Rails 2.3

Reported by Clemens Kofler | February 24th, 2009 @ 11:14 AM

Routing filters don't work smoothly in Rails 2.3 - at least there are issues in functional tests.

Example stack trace: NoMethodError: private method sub' called for ["/subscriptions", [:subscribable_id, :subscribable_type]]:Array

vendor/adva/plugins/routing-filter/lib/routing_filter/force_html.rb:16:in `around_generate'
vendor/adva/plugins/routing-filter/lib/routing_filter/force_html.rb:12:in `around_generate'
vendor/adva/plugins/routing-filter/lib/routing_filter/base.rb:12:in `send'
vendor/adva/plugins/routing-filter/lib/routing_filter/base.rb:12:in `run'
vendor/adva/plugins/routing-filter/lib/routing_filter.rb:12:in `run'
vendor/adva/plugins/routing-filter/lib/routing_filter.rb:57:in `generate'
vendor/adva/test/with/lib/with/call.rb:26:in `instance_eval'
vendor/adva/test/with/lib/with/call.rb:26:in `to_proc'
vendor/adva/test/with/lib/with/context.rb:69:in `instance_eval'
vendor/adva/test/with/lib/with/context.rb:69:in `test [#26304650](/projects/13992/tickets/26304650 "Ticket #26304650")

So basically something that used to be a string in Rails 2.2 and prior seems be an array now.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>