5. Create messages I step 4


#1

I click run but the screen keeps loading not sure what the problem is?

already tried closing and reloading webpage.

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

  def new
    @message = Message.new
  end
  private
    def message_params

    params.require(:message).permit(:content)
    end
end

#2

Hi @theprogrammer111,

I'm not sure if this is a problem with your code. Could you wait a day and let me know if the problem persists?


#3

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