title: Rails ActiveRecord Serializer not found
body: <p>I have a few serializers set up in my app and recently decided to create another one for a new feature. This one is nearly identical to the others, except that the model/attributes are different. I'm not sure why, but no matter what I do, Rails doesn't seem to detect that I have a serializer for my model and bypasses it. Even if I just put in a bunch of gibberish code that should raise an exception, Rails delivers a JSON response with all the attributes of my model. I'm not sure what I'm missing here. I referenced <a href="http://railscasts.com/episodes/409-active-model-serializers?view=asciicast" rel="nofollow">this Railscast</a> to see if I missed a step, but as far as I can tell, everything looks right.</p>
  
  <p>Here is my <code>app/serializers/job_description_serializer.rb</code>:</p>
  
  <pre><code>class JobDescriptionSerializer &lt; ActiveModel::Serializer
      attributes :id,
          :title,
          :role,
          :description,
          :posting_link,
          :company_id,
          :company_name,
          :created_at,
          :updated_at
  
      def company_name
          object.company.name
      end
  end
  </code></pre>
  
  <p>Here is my <code>jobs_controller.rb</code>. I've tried this without the <code>root: false</code> argument as well.</p>
  
  <pre><code>class Admin::JobsController &lt; ApplicationController
      layout 'admin'
  
      before_action :authenticate_user!
      before_action :authenticate_admin
      def index
          @job_descriptions = JobDescription.all
          @total_count = @job_descriptions.count
  
          respond_to do |format|
              format.html { render action: 'index' }
              format.json { render json: { jobs: @job_descriptions, total_count: @total_count }, root: false }
          end
      end
  end
  </code></pre>