Answer the question
In order to leave comments, you need to log in
Ruby and Rails how to withdraw?
Hello everyone) I
started learning Ruby, I seem to have created everything, brought posts to the main page,
but I can’t understand in the controller, for example.
class MainController < ApplicationController
def index
@posts = Post.all
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question