module Jb::PartialRenderer::RenderCollectionExtension

A monkey-patch strengthening rendered collection

Private Instance Methods

collection_with_template() click to toggle source
Calls superclass method
# File lib/jb/action_view_legacy_monkeys.rb, line 28
        def collection_with_template
  super.extend StrongArray
end
collection_without_template() click to toggle source
Calls superclass method
# File lib/jb/action_view_legacy_monkeys.rb, line 32
        def collection_without_template
  super.extend StrongArray
end
render_collection() click to toggle source
Calls superclass method
# File lib/jb/action_view_legacy_monkeys.rb, line 36
        def render_collection
  return [] if @collection.blank?
  super
end