title: Rails to_json :methods that have parameters
body: <p>I have an array of model objects that have an owner method. This method needs a parameter to be passed into it to work. I need to serialize the model objects to json and include the value of the owner method.</p>
  
  <p>How would I go about passing the parameter into the <code>to_json</code> method I currently use the </p>
  
  <pre><code>objects.to_json(:methods =&gt; :owner)
  </code></pre>
  
  <p>to include the owner method but as I am not passing the parameter it does not work.</p>