Lesson 3 step 3


#1

Weird one, I'm pretty much just following instruction here but it keeps giving me an error.

def index
@messages = Message.all
end


#2

you need @messages = Message.all

Not Messages but Message


#3

Opps .. You forgot to put 'end' (end of class)
CODE:
class MessagesController < ApplicationController
def index
@messages = Message.all
end
end


#4

A post was split to a new topic: It Looks Alright to me But Still Cannot Get Through | Exercise 3


#5

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