Sha256: 1f4a6901167199c3dc1febb44b6c4d1f5ef4e825d7107278d83c63410b7c3205
Contents?: true
Size: 513 Bytes
Versions: 13
Compression:
Stored size: 513 Bytes
Contents
require 'action_view/helpers/prototype_helper' unless defined?(ActionView::Helpers::PrototypeHelper) module ActionView module Helpers module PrototypeHelper alias :_build_observer :build_observer def build_observer(klass, name, options = {}) options[:with] = 'value' unless options[:with] class << options[:with] def include?(arg) arg == "=" ? true : super end end _build_observer(klass, name, options) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems