Christian Rolle
German version
twitter
githuboctocat
linkedin
Blog
Google blog
Apr 1, 2018
Rails - Easter Eggstravaganza
Ruby on Rails
ActiveRecord
Fun
Mar 25, 2018
URL maintenance
Routing
Ruby on Rails
Slug
Feb 18, 2018
Descriptive boolean arguments
Ruby
Boolean
Sep 26, 2017
Requesting API with cURL
Public API
Tooling
Jun 11, 2017
Maintaining legacy routes
Ruby on Rails
Slug
Routing
May 21, 2017
5 Rails console tricks
Ruby on Rails
Basics
Apr 30, 2017
The perfect Slug - URL
Ruby on Rails
ActiveRecord
Slug
Apr 9, 2017
Testing custom validator
Ruby on Rails
Validation
Testing
Apr 1, 2017
Custom validator class
Ruby on Rails
ActiveModel
Validation
Mar 26, 2017
Benchmark: preload vs. eager_load
Ruby on Rails
ActiveRecord
Benchmark
Mar 18, 2017
Eager loading: preload vs. eager_load
Ruby on Rails
ActiveRecord
SQL
Feb 18, 2017
Finding records without associations
Ruby on Rails
ARel
ActiveRecord
Feb 11, 2017
Tainted - Ruby security
Ruby
Security
Feb 5, 2017
Boolean attribute validation
Ruby on Rails
ActiveRecord
Validation
Jan 29, 2017
Modularized has_many proxy extension
Ruby on Rails
ActiveRecord
Association
Jan 22, 2017
Struct vs. OpenStruct benchmark
Ruby
Struct
Benchmark
Jan 15, 2017
Extending has_many association proxy
Ruby on Rails
ActiveRecord
Association
Jan 8, 2017
Struct vs. OpenStruct definition
Ruby
Struct
OpenStruct
Dec 17, 2016
Migration to PostgreSQL on Rails
PostgreSQL
Ruby on Rails
Dec 11, 2016
Simple form object
Ruby on Rails
Form Object
Pattern
Dec 4, 2016
The raise and fail of exceptions
Ruby
Exception
Pattern
Nov 26, 2016
ActiveRecord stringification
Ruby on Rails
ActiveRecord
Delegator
Nov 19, 2016
Different time transitions
Ruby on Rails
ActiveSupport
Time
Nov 13, 2016
RSpec predicate matchers
RSpec
Matcher
Testing
Nov 6, 2016
Dependency Injection pattern
Ruby
Pattern
Depency Injection
Oct 30, 2016
YAML list
YAML
Ruby
ActionView
Oct 22, 2016
Array coherences
Ruby
Equality
Basics
Oct 16, 2016
Environment variables
Ruby
Gems
Tooling
Oct 1, 2016
Arranging test environment
Ruby
Testing
Factory Girl
Sep 18, 2016
Accurate floating decimals
Ruby
Basics
Sep 11, 2016
Testing: Arrange, Act, Assert
Ruby
RSpec
Pattern
Sep 4, 2016
Dangerous prima donna methods
Ruby
Style guide
Aug 28, 2016
Dealing with durations
Ruby
ActiveRecord
Range
Aug 21, 2016
The Nil object pattern
Ruby on Rails
Refactoring
Pattern
Aug 14, 2016
Flexible matcher class
Ruby
RSpec
Matcher
Aug 7, 2016
Custom RSpec matcher
RSpec
Factory
Matcher
Jul 31, 2016
RSpec & Redis
RSpec
Redis
Database
Jul 23, 2016
Decoupled ActiveRecord scopes by merging
Ruby on Rails
ActiveRecord
Refactoring
Jul 17, 2016
Positive coding style
Ruby
Style guide
Jul 3, 2016
Classes are objects
Ruby
Basics
Jun 19, 2016
Private classes in Ruby
Ruby
Basics
Jun 12, 2016
The Factory Pattern
Ruby
Factory
Pattern
Jun 5, 2016
Bundling boolean attributes with enum in Rails
Boolean
Ruby on Rails
ActiveRecord
May 29, 2016
Private constants in Ruby
Ruby
Basics
May 22, 2016
ActiveRecord equality - explained
Ruby
ActiveRecord
Equality
May 15, 2016
Benchmark vs. question mark
Ruby
Refactoring
Tooling
May 8, 2016
Equal? is not eql?
Ruby
Basics
Equality
May 1, 2016
Refactoring: Query Method
Ruby
Refactoring
Query Method
Apr 28, 2016
A Presenter Implementation
Ruby on Rails
Presenter
Pattern
Apr 16, 2016
Replacing Magic Numbers
Ruby
Refactoring
Magic Numbers
Apr 10, 2016
Set HTTP Strict Transport Security
Ruby on Rails
HTTPS
HSTS
Apr 3, 2016
The Guard Clause Pattern
Ruby
Guard Clause
Pattern
Mar 27, 2016
Testing modules with RSpec
Ruby
RSpec
Module
Mar 20, 2016
Migration path from HABTM to has_many :through
Ruby on Rails
ActiveRecord
Association
Mar 13, 2016
Awesome checkboxes
CSS3
HTML
Form
Feb 28, 2016
Meaningful boolean method parameter
Ruby on Rails
ActionView
Boolean
Feb 21, 2016
ActiveRecord callback tests with RSpec
RSpec
Ruby on Rails
ActiveRecord
Feb 14, 2016
A Decorator implementation
Ruby on Rails
Decorator
Pattern
Feb 7, 2016
The Delegator pattern
Ruby
Delegator
Pattern
Jan 31, 2016
Aliasing the Rails way
Ruby on Rails
Jan 24, 2016
The Threequal operator
Ruby
Jan 17, 2016
The Decorator pattern
Ruby
Decorator
Pattern
Jan 10, 2016
Interpolated shell command
Ruby
Jan 3, 2016
Rendering collections
Ruby on Rails
ActionView
Nov 15, 2015
Rails on HTTPS
Ruby on Rails
HTTPS
SSL
Oct 25, 2015
Exception handling without verbosity
Ruby
Exception
Oct 18, 2015
Exploding enumerables with the splat operator
Ruby
Oct 8, 2015
Iterator block shortcut
Ruby
Oct 3, 2015
Hash values identified by non Strings/ Symbols
Ruby
Ruby on Rails
Aug 15, 2015
Ruby percentage notations
Ruby
Jul 26, 2015
Protocol independent assets
HTTPS
HTML
Asset
Jul 18, 2015
Iterators: inject and reduce
Ruby
Ruby on Rails
Jun 20, 2015
Concise Ruby messages
Ruby
Style guide
Feb 7, 2015
Interpolated regular expression
Ruby
Jan 31, 2015
String interpolation
Ruby
Jan 24, 2015
String/ Symbol Array interpolation
Ruby