Skip to content

Latest commit

 

History

History
93 lines (63 loc) · 3.95 KB

File metadata and controls

93 lines (63 loc) · 3.95 KB

KISS principle

KISS principle - U.S. Navy

SOLID - First 5 Principles of OOD by Robert C. Martin

Back to Basics: SOLID - Britt Ballard

Sandi Metz' 4 rules

Sandi Metz' Rules For Developers - Caleb Thompson

The Ruby Style Guide

The Ruby Style Guide - Bozhidar Batsov

Best Ruby and RoR practices by Thoughtbot

Best Ruby practices - Thoughtbot

Best Ruby on Rails practices - Thoughtbot

Guide how to do the code review by Thoughtbot

how to do the code review - Thoughtbot

Monitoring code gems - list by Richard Seviora

  • gem 'traceroute' # Checks for undefined routes and unreachable actions.
  • gem 'bullet' # Checks for query optimizations.
  • gem 'rails_best_practices' # Checks for code optimization.
  • gem 'rubycritic' # Checks for code optimization.
  • gem 'sandi_meter' # Checks for compliance to Sandi Metz's rules for developers.
  • gem 'simplecov' # Enables coverage analysis of code.
  • gem 'rubocop' # Static code analyzer

Security

Ruby on Rails Security Guide

Awesome Rails

Awesome Rails

Awesome Rails Gem

Awesome Rails Gem

Awesome Ruby

Awesome Ruby

Awesome Ruby Events

Awesome Ruby Events

Ruby Weekly

Ruby Weekly

Ruby on Rails vs Ruby Quiz

railshurts - quiz

Conferences - videos

RailsConf 2014 - Domain Driven Design and Hexagonal Architecture with Rails - by Eric Roberts and Declan Whelan

Articles related to KISS principle:

Tell don't ask - Thoughtbot

Event sourcing & CQRS conception

Building an Event Sourced application using rails_event_store - Arkency

Single Responsibility Principle:

Interactor - single purpose object

A couple of words about interactors in Rails - Ivan Shamatov

Service objects

Railscasts PRO #398 Service Objects - Ryan Bates

Other patterns:

Law of Demeter and delegate

Rails - Law of Demeter and delegate - Sergii Makagon

Memoization patterns:

4 Simple Memoization Patterns in Ruby (and One Gem) - Justin Weiss

State patterns:

Railscasts PRO #392 A Tour of State Machines - Ryan Bates

Decorator pattern:

Draper - gem for decorate

Presenter pattern:

Railscasts PRO #287 Presenters from Scratch - Ryan Bates

Form object pattern:

Railscasts PRO #416 Form Objects - Ryab Bates

Repository pattern

Why is your Rails application still coupled to ActiveRecord? - Kamil Lelonek

Null object pattern

https://robots.thoughtbot.com/rails-refactoring-example-introduce-null-object