reassign 584331 libactivesupport-ruby1.8
thanks

Coin,

As i understand it, the to_xs() API is not normalized accross several tools, and it is bothering you. Well, by reading you example, and as libactivesupport-ruby1.8 defines this alias which is broken due to conflicting API, i would say this package is doing the wrong thing.

If you think this method should really be changed (which would break compatibility with tools providing the extra argument), then i guess you should try to convince the builder's upstream authors directly.

ActiveSupport could easily, and properly solve the issue, by replacing:
  alias_method :to_xs, :fast_xs
by
  def to_s(escape=true)
    fast_xs
  end

As the original provider and reference of this method is Builder, i'm then reassigning this bug to ActiveSupport.

--
Marc Dequènes (Duck)

Attachment: pgpvKVbltwsv6.pgp
Description: PGP Digital Signature

Reply via email to