Ruby on Rails jobs NotImplementedError
<p>I am trying to implement a Job in my Ruby on Rails application, but I keep getting this error:</p>

<pre><code>NotImplementedError
</code></pre>

<p>Error from the server:</p>

<pre><code>NotImplementedError (NotImplementedError):
  app/controllers/cron_controller.rb:6:in `message_10_minutes'
</code></pre>

<p>Here's the ActiveJob:</p>

<pre><code>class TestSmsJob &lt; ActiveJob::Base
  queue_as :default

  #include Plivio

  def perform(*args)
    # do my stuff
  end
end
</code></pre>

<p>This is the call to the function for executing the job:</p>

<pre><code>class CronController &lt; ApplicationController
  def index
  end

  def message_10_minutes
    TestSmsJob.set(wait: 10.minutes).perform_later()
    render :layout =&gt; false
  end
end
</code></pre>

<p>Do you guys know what am I missing?</p>