5. Create Message I


Link to Exercise (Instruction #2):

My code:
class MessagesController < ApplicationController
def index
@messages = Message.all
def new
@messages = Message.new

Error Message:
In the 'new' action did you save a new Message object into the @message variable?


Hi @snaylz,

@messages in your new action should be singular, @message :slight_smile:


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