title: How to override a method of a class from a gem in Rails?
body: <p>I need to override the behavior of the <code>find</code> method of a class from a gem.</p>
  <p>This is the code in the gem:</p>
  <pre><code>module Youtube
    class Display
      attr_accessor :base
      def find(id, options = {})
        detailed = convert_to_number(options.delete(:detailed))
        options[:detailed] = detailed unless detailed.nil?
        base.send :get, &quot;/get_youtube&quot;, options.merge(:youtube_id =&gt; id)
      end
    end
  end
  </code></pre>
  <p>How do I override the above <code>find</code> method in my own YoutubeSearch Controller of my Rails Application?</p>
  <pre><code>   def find(id, options = {})
      //Code here     
     end
  </code></pre>