Is there any way to define invalid enum value in a model?
<p>I have a model as:</p>

<pre><code>class CashPayment &lt; ActiveRecord::Base

 .....

 **enum status: [:processing, :paid, :invalid,:refund]**
end
</code></pre>

<p>Here,I have declared invalid status for cash_payment.But its giving me as error like:</p>

<pre><code>*** ArgumentError Exception: You tried to define an enum named "status" on the model "CashPayment", but this will generate a instance method "invalid?", which is already defined by Active Record
</code></pre>