Changset 3772 http://dev.rubyonrails.org/changeset/3772 breaks the
support for RJS Helper methods which were added in 3470
http://dev.rubyonrails.org/changeset/3470.

Offending code from the JavaScriptGenerator in prototype_helper.rb:

def initialize(context, &block) #:nodoc:
  @context, @lines = context, []
  # removed because those methods were overriding valid generator methods
  # include_helpers_from_context
  @context.instance_exec(self, &block)
end

Does this mean that the support for RJS Helper methods is being
dropped, or is this breakage just temporary?  The actual method
include_helpers_from_context was left in the code, so it is hard to
tell what is going on.

Thanks

--
Cody Fauser
http://www.codyfauser.com
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to