refactoring

refactoring Archives

Encapsulating queries in a Rails model

30/05/2018 - Ruby on Rails / Active Record

Rails belongs_to association: queries refactoring

30/05/2018 - Ruby on Rails / Associations

Simple factory pattern

30/05/2018 - Ruby on Rails / Refactoring

Red-green-refactor cycle

30/05/2018 - Ruby on Rails / Testing

The null object pattern

30/05/2018 - Ruby on Rails / Refactoring

Speed up your Rails app with frozen constants

30/05/2018 - Ruby on Rails / Refactoring

The policy object pattern

30/05/2018 - Ruby on Rails / Refactoring

The value object pattern

30/05/2018 - Ruby on Rails / Refactoring

The parameter object pattern

30/05/2018 - Ruby on Rails / Refactoring

The service object pattern

30/05/2018 - Ruby on Rails / Refactoring

Make a if condition more simple with a scope

30/05/2018 - Ruby on Rails / Refactoring

Rescue errors in a Rails controller

30/05/2018 - Ruby on Rails / Refactoring