Blog

by Lugo Labs

Using Bootstrap 4 with Ruby On Rails

A quick walkthrough on how to add Bootstrap 4 to an existing Ruby on Rails...

15 February 2017 Ruby on Rails


Distinct Active Records in has_many through associations

Learn how to load only distinct collections into Ruby on Rails models with has_many through...

7 February 2017 Ruby on Rails


Pretty URLs in Ruby on Rails with FriendlyId

Our task today is to add unique slugs to our Company model on our Ruby...

25 January 2017 Ruby on Rails


Creating data backed tables with Tabular and Ruby on Rails

We have been building data tables for ages, and much of the elements are the...

7 January 2017 Ruby on Rails


Run single tests in Ruby on Rails 4

A zsh shell function to easily run single tests in Ruby on Rails 4.

22 March 2016 Ruby on Rails


Rewrite Medium in Ruby on Rails, Part 2: Creating the posts

In the first part of this short series on how to build a Medium site...

3 February 2016 Ruby on Rails


Rewrite Medium in Ruby on Rails, Part 1: The Setup

I love Medium's interface, clean, tidy, devoid of any bells and whistles, making you concentrate...

26 January 2016 Ruby on Rails


Conditional validations with ActiveRecord

One of the processes that Ruby on Rails makes very easy is validating models conditionally....

19 January 2016 Ruby on Rails


Upgrading to Ruby on Rails 5

Last week I upgraded the Lugo Labs website to Rails 5. The process was easy...

12 January 2016 Ruby on Rails


Simple exception monitoring in Ruby on Rails

We have a look at installing exception_notification in a Ruby on Rails app to email...

31 December 2015 Ruby on Rails