Within Ruby on Rails, can I use a new controller to display column information obtained from a form on another controller?
<p>I created my first controller named Articles that has a form that gathers info into a column named Name and Title. 
The index page of this displays the column details in alphabetical order.</p>

<p>I created a second controller named Sorted and I am wondering if I can take the table/column data obtained in the first controller and display it on the 
index.html of the second controller?  When I navigate to my www.domain.com/sorted, I get this error:</p>

<p><em>SQLite3::SQLException: no such column: articles.title: SELECT "articles".</em> FROM "articles" ORDER BY "articles"."title" ASC*</p>

<p>my /views/sorted/index.html.erb...</p>

<pre><code>    &lt;h1&gt;Data&lt;/h1&gt;
    &lt;table&gt;
      &lt;tr&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Title&lt;/th&gt;

      &lt;/tr&gt;

      &lt;% @articles.each do |article| %&gt;
       &lt;tr&gt;
         &lt;td&gt;&lt;%= article.name %&gt;&lt;/td&gt;
         &lt;td&gt;&lt;%= article.title %&gt;&lt;/td&gt;
       &lt;/tr&gt;
      &lt;% end %&gt;
    &lt;%= link_to 'Back', controller: 'welcome' %&gt;
    &lt;p&gt;
    &lt;/table&gt;
</code></pre>

<p>I have this in my articles_controller.rb which make index.html output info in alphabetical order...</p>

<pre><code>def index
  @articles = Article.all.order(:title)
end
</code></pre>

<p>My routes.rb contains this...</p>

<pre><code>  resources :articles

  resources :cases
</code></pre>