The rails_xss plugin would need to be restructured a bit to make it
easier to explicitly require and initialize.
Otherwise users have to explicitly config.plugins = [:rails_xss,
:will_paginate, ...]
Even if rails_xss initializer is restructured so that a simple `require 'rails_xss'` is enough, I can't do that from plugin code.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Nathan Weizenbaum, the author of Haml, has found a solution to this
problem of the order of plugins/gems: he has used
Rails.configuration.after_initialize[1] to do stuff when the rails_xss
is here.