Flowdock
method

check_for_image_tag_errors

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ActionView::Helpers::AssetTagHelper
check_for_image_tag_errors(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/helpers/asset_tag_helper.rb, line 492
        def check_for_image_tag_errors(options)
          if options[:size] && (options[:height] || options[:width])
            raise ArgumentError, "Cannot pass a :size option with a :height or :width option"
          end
        end
Register or log in to add new notes.