A Refactoring Guide for Ruby on Railsby@muriloRoque

A Refactoring Guide for Ruby on Rails

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

Receive Stories from @muriloRoque

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa