Answer the question
In order to leave comments, you need to log in
Are railcasts lessons up to date?
I recently started learning RoR and ran into a series of railscasts, but the problem is that a lot of videos were filmed for version 3 of rails. How relevant is what it says? How many changes have been made in version 4 of rails? How to filter the forgotten from the actual?
Answer the question
In order to leave comments, you need to log in
Relevant. Somewhere the syntax has changed, faced with this, there are no particular problems in the search for a new one.
The so-called strong parameters (access to model objects)
in rails 4 have changed significantly; they are written in the controller in the form
def book_params
params.require(:book).permit(:title)
end
in rails 3.1, access was in models in the form
attr_accessible :title
In the rest of the "castes" of the video are still relevant, or corrections have been written in the comments to the videos.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question