I have a model called Filter, but due to changes in the reorganization of filters from 2.0.3, it conflicts with
ActionController::Filters::Filter (class)
In my filters_controller.rb when I try to find a filter
Filter.find(:id)
as rails infer a class ActionController::Filters::Filter, not my model class filter. Is there any work besides renaming my model?
BTW: If I use a ActiveRecord::Base::Filter.find(:id)filter to load my object, its work, but I'm not quite sure if there are any unforeseen consequences when doing rails trying to unload / reload constants.
Thanks in advance.
Satynos
source
share