<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=706355809571598&amp;ev=PageView&amp;noscript=1">
Free Assessment
Estimate Project
Menu
Estimate Project
Dominique L.

Dominique L.

Recent Posts by Dominique L.:

by Dominique L., on 08 January 2016

Implementing multiple table inheritance in Rails Rails’ default —and actually only— way of representing model inheritance at the database level is called single table inheritance (STI for short). With this …

Read Story
Topics:Under the hood

by Dominique L., on 23 September 2014

Some time ago one of our customers, for which we had already developed a highly specialized e-commerce/ERP, decided to add a new service to the one they were already offering …

Read Story
Topics:Under the hood

by Dominique L., on 07 April 2013

Imagine that your application manages a store, and that you have a model that represents the number of items in stock for each product: product_stock.rb 1 2 3 4 5 6 7 class ProductStock < ActiveRecord::Base …

Read Story
Topics:Under the hood

by Dominique L., on 08 February 2013

It is quite usual in object-oriented programming to redefine the criteria of equivalence between two instances of a class. For example, let’s write a class representing a specific point in …

Read Story
Topics:Under the hood

by Dominique L., on 27 April 2012

Most Belighters, as probably most Rails developers, use TextMate (the most hardcore ones use Vim, of course). Yet some were seduced by RubyMine. Here is a small comparison of the …

Read Story
Topics:Under the hood

by Dominique L., on 24 April 2012

Base 2 representation of real numbers is to me an artifact of the time when every single bit and every single flop mattered, but I have to admit that with …

Read Story
Topics:Under the hood