Want more GoRails?
GoRails is packed full with 684 lessons just like this one.
Sign up to get full access or log in to your account and sit back.
Your Teacher
Chris Oliver
Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.
About This Episode
Today we're refactoring Andrew Mason's GitHub Action that runs Rubocop against your repository. We'll pull out some concepts, remove conditionals, and use several other techniques to clean up the code.
Refactoring Your Code
0% Complete
1
Refactoring Controller Methods
19m
2
Using Ruby Service Objects To Refactor Your Rails Code
12m
3
Refactoring with the Null Object Pattern
9m
4
Refactoring Your jQuery Code with Objects in Coffeescript
21m
5
Code Review: Run Number Refactoring
24m
Refactoring Rubocop GitHub Action
21m
7
Code Review: Refactoring the Receipts gem for Composability
21m
8
Rails ActionController Parameters with_defaults
5m
9
Debugging Custom Webhooks in the Pay gem
18m
10
Refactoring with ActiveSupport::TimeWithZone
15m
11
How to Build Reusable Features with Concerns in Ruby on Rails
23m
12
Routing Concerns and Scopes in Rails
13m
13
Organizing Rails Model Files
14m