5. Create Message I


#1

Link to Exercise (Instruction #2):

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

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


#2

Hi @snaylz,

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


#3

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