title: Jbuilder not working with gem rails-api
body: <p>I'am trying rails-api gem with jbuilder and i can't seem to make it work</p>
  
  <p>Here is a sample of my rails-api controller / jbuilder views</p>
  
  <p>Gemfile</p>
  
  <pre><code>gem 'jbuilder'
  </code></pre>
  
  <p>Controller app/controller/users_controller.rb</p>
  
  <pre><code> def show
    @user = User.find_by(id: params[:id])
   end
  </code></pre>
  
  <p>View app/views/users/show.json.builder</p>
  
  <pre><code>json.content format_content(@user.id)
  </code></pre>
  
  <p>According to the Jbuilder documentation this should work fine but still nothing is returned.</p>
  
  <p>Thanks for the help!</p>