2.1 ActionController::Filters::Filter:Class conflicting with my own Filter class

I'm having issues upgrading from Rails 2.0.2 to 2.1.0. The ActionController::Filters::Filter:Class has changed just enough to cause me problems.

I have my own Filter class. I know, I know - I didn't know any better at the time. I'll rename it if I absolutely have to. Now, when I make the following call, I get the following error:

2008/6/3 Kyle :

I'm having issues upgrading from Rails 2.0.2 to 2.1.0. The ActionController::Filters::Filter:Class has changed just enough to cause me problems.

I have my own Filter class. I know, I know - I didn't know any better at the time. I'll rename it if I absolutely have to. Now, when I make the following call, I get the following error:

-------------------- @filter_list[c] = Filter.find_all_by_filter_type_id(c, :order => "display_order") ... NoMethodError (undefined method `find_all_by_filter_type_id' for ActionController::Filters::Filter:Class): --------------------

Before clogging the list with more error output, I'm wondering if there's a way to explicitly refer to *my* Filter class instead of the ActionController::Filters::Filter class.

Try :

@filter_list[c] = ::Filter.find_all_by_filter_type_id(c, :order => "display_order")

if it works.

   -- Jean-François.

That did it. Thank you!

-Kyle