title: how can i write a custom serialization method in active-model-serializers v0.10.x...?
body: <p>i have substantial system written using <code>v0.9.3</code> where i hijack the serialization process by overriding the <code>serializable_object</code> method:</p>
  
  <p>in my case, pretty much every call ends up serializing the result of some custom multi-join query, so our serializers look something like this:</p>
  
  <pre><code>class DatesSerializer &lt; ActiveModel::Serializer
    include DateUtils
  
    def serializable_object(opts={})
      max = object[:max]
      min = object[:min]
      if max.blank?
        max = current_month
        min = max
      end
  
      {
        minMonth: min.to_s,
        maxMonth: max.to_s,
        startMonth: [min, relative_month(yyyymm: max, distance: -11)].max.to_s,
        endMonth: max.to_s
      }
    end
  end
  </code></pre>
  
  <p>what would be the recommended way (if any) to accomplish similar override in <code>v0.10.x</code>...?</p>