# File lib/kwartz/binding/rails.rb, line 188
    def add_directive_object_and_method(d_arg, attr_info)
      if (/\A(\w+)\[(\w+)\]\z/ =~ attr_info['name']) || (/\A([a-zA-A0-9]+)_(\w+)\z/ =~ attr_info['id'])
        object = $1 ;  method = $2
        d_arg[0,0] = "#{quote(object)}, #{quote(method)}#{d_arg.empty? ? '' : ', '}"
      end
    end