Hi,
I am on Edge Rails, hence with the new dependencies mechanism.
I am trying to get the plugin "acts_as_wizard" (to work.
I have refactored it to use the new plugin loading system, as best I know how:
Key part:
module ActsAsWizard module ActionControllerExtensions
def self.append_features(base) super base.class_eval do cattr_accessor :wizards # Hash, contains all the wizards this controller participates in alias_method :original_url_for, :url_for alias_method :original_render, :render prepend_before_filter WizardSetupFilter end end
....etc.....
Note I changed the filter to prepend.
THis may be related to the problem I have, which is that when I am in a wizard, in one of my before_filters defined in my ApplicationController, I get a "A copy of ApplicationController has been removed from the module tree but is still active!" error halfway through the filter.
Does anyone have any idea what sort of thing causes such an error? or just any tips for debugging problems with the edge rails dependencies mechanism. It's really opaque to me at this point.
Michael Johnston