method

collection_from_options

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Renderer
collection_from_options(options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/renderer/renderer.rb, line 100
      def collection_from_options(options)
        if options.key?(:collection)
          collection = options[:collection]
          collection || []
        end
      end
Register or log in to add new notes.