paint-brush
A Refactoring Guide for Ruby on Railsby@muriloRoque
235 reads

A Refactoring Guide for Ruby on Rails

by MuriloRoque2mJune 21st, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this article, I’m gonna walk you through some steps to make your Ruby on Rails code more beautiful and readable. You should understand what a basic MVC is before going forward, take a look at this article. Read and apply each of the steps in order, I will start with some messy code in the View and split it through the whole MVC until I get to the Model. This is the heart of our MVC, where we should put the most complex code logic and transfer (almost) everything to our controllers.
featured image - A Refactoring Guide for Ruby on Rails
MuriloRoque HackerNoon profile picture
MuriloRoque

MuriloRoque

@muriloRoque

L O A D I N G
. . . comments & more!

About Author

MuriloRoque HackerNoon profile picture
MuriloRoque@muriloRoque

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite