Saving Data#3. Controller


I keep getting this error..And I made sure I created my 'Messages' controller by running rails generate controller Messages

This is what my messages controller looks like:

class MessagesController < ApplicationController
def index
@messages = Message.all


Hi @edwinxc,

Could you please post a screenshot of the page with messages_controller.rb open?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.