{"issue":{"user":{"id":3759,"login":"nshb","url":"https://api.github.com/users/nshb","avatar_url":"https://secure.gravatar.com/avatar/631950bd299098576e57053ce703e082?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"631950bd299098576e57053ce703e082"},"title":"uninitialized constant RoutingFilter::Filter","milestone":null,"created_at":"2011-05-22T04:46:16Z","labels":[],"state":"open","updated_at":"2011-12-21T18:37:46Z","id":937012,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/svenfuchs/routing-filter/issues/27","body":"When I use bundler with the latest code on rails 2.3.11 it gives me the following error. \r\n\r\nHere is my sample filter /lib/routing_filter.rb:\r\n\r\n```ruby\r\nmodule RoutingFilter\r\n  class Country < Filter\r\n    # remove the locale from the beginning of the path, pass the path\r\n    # to the given block and set it to the resulting params hash\r\n    def around_recognize(path, env, &block)\r\n      country = nil\r\n      path.sub! %r(^/(italy|france|spain)(?=/|$)) do country = $1; '' end\r\n      returning yield do |params|\r\n        params[:country] = country || 'italy'\r\n      end\r\n    end\r\n\r\n    def around_generate(*args, &block)\r\n      country = args.extract_options!.delete(:country) || 'italy'\r\n      returning yield do |result|\r\n        if country != 'italy'\r\n          result.sub!(%r(^(http.?://[^/]*)?(.*))){ \"#{$1}/#{country}#{$2}\" }\r\n        end \r\n      end\r\n    end\r\n\r\n  end\r\nend\r\n```\r\n\r\nAnd my /config/routes.rb:\r\n\r\n```ruby\r\nActionController::Routing::Routes.draw do |main|\r\n  filter :country\r\nend\r\n```","number":27,"url":"https://api.github.com/repos/svenfuchs/routing-filter/issues/27","comments":1,"assignee":null},"comment":{"user":{"id":203423,"login":"yabawock","url":"https://api.github.com/users/yabawock","avatar_url":"https://secure.gravatar.com/avatar/c85dc89b5ca024dfd515bb4f3ddcac95?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c85dc89b5ca024dfd515bb4f3ddcac95"},"created_at":"2011-12-21T18:37:46Z","updated_at":"2011-12-21T18:37:46Z","id":3237649,"body":"Did you try adding\r\n\r\n    require 'routing_filter'\r\n\r\nor maybe just\r\n\r\n    require 'routing_filter/filter'\r\n\r\nbefore defining your Country filter?","url":"https://api.github.com/repos/svenfuchs/routing-filter/issues/comments/3237649"},"action":"created"}