<p>Using database-backed models in our applications can cause coupling and
performance problems. Extracting that data to Ruby constants helps to resolve
those problems.</p>

<h2 id="example">Example</h2>

<p>Consider the following database tables and their data:</p>

<ul><li><code>subscription_plans</code></li></ul>

Read more at the source