Lucian Ghinda
All about coding

All about coding

Follow
homeRuby/Rails Tips and TILShortsEssaysAbout meWeekly Ruby NewsletterBlog Newsletter
Tag

refactoring

#refactoring

More content

Read more stories on Hashnode


Articles with this tag

This week focus: Refactoring

Jun 13, 20232 min read

Look at your code and identify any areas where you can improve. Refactoring isn't about fixing bugs but improving your code's readability, efficiency,...

This week focus: Refactoring

Refactoring instance variables to local variables in Rails controllers

Jan 18, 20239 min read

An example of refactoring a controller to use local variable and shorthand hash syntax ยท I like to use as much as possible the new features in Ruby. In...

Refactoring instance variables to local variables in Rails controllers