Create Message 1 - some unknown functions


#1

I saw some function I think we didn’t use before in Ruby and/or in Rails (I’ve done Ruby , started Rails today). and these are:

  • render
  • redirect_to
  • .require(:message)
  • .permit(:content)

I know we can guess there function from their name, but have we done these before?
(or mention if their explanation is coming in future lessons,)


#2

Hi @eaglehdr,

Sorry for not replying earlier. I think that those methods should have been covered briefly earlier in the course, but it has been a while since I took it. If you have any questions about those methods, I’ll by happy to answer them :slight_smile:


#3

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