ruby Archives - CookiesHQ

Programming screen
October 31, 2017

Multiple databases connected in rake with rails

There are many reasons why you may want to connect to multiple databases, a quick context to ours. We recently took over a project that hadn't launched yet and decided…
Read More
Incredibly messy house
July 27, 2017

Why devoting time for refactoring is essential

Justification for refactoring seems to be less tangible than test coverage, because many see their apps as "if it works, why touch it?". But there are many advantages to dedicating…
Read More
Utility pole
January 12, 2017

How we use Segment with Solidus / Spree

A little technical overview of how we use Segment with Spree to track users, orders and products.
Read More
Zipping file icons
September 1, 2016

Zip and download files from Amazon S3 with Ruby

I recently needed to download multiple files from an S3 bucket through Ruby. As handy as the AWS SDK is, it doesn't offer a way to zip multiple files so…
Read More
Tablets sitting on a window sill
August 9, 2016

Service workers and browser push notifications (with Ruby on Rails example)

We were recently developing an app with a real-time notification component. Since we could be confident of the devices being used by end users, we decided to forego long-polling and…
Read More
Brighton Ruby logo
July 26, 2016

CookiesHQ guys discuss Brighton Ruby

A few weeks ago, Nic, Denis and Rob travelled down to Brighton to attend Brighton Ruby Conference - held at Brighton Dome, it's a chance for fans of Ruby to…
Read More
Code First Girls logo
July 13, 2016

What I’ve learnt from teaching for Code First:Girls

What teaching for Code First:Girls has taught me about myself, the way I see development and how it affects our 'Do good; Be good' mindset.
Read More
Close up of a clock
June 21, 2016

Multiparameter attributes with Ruby on Rails

In part 1, we looked at how Rails handles multiparameter attributes - like dates - in forms and models. This time, we'll be looking at how we can use this…
Read More
Tic Tac Toe
June 1, 2016

Tic Tac Toe Game in Rails 5 with Action Cable

I've been playing around with Rails 5 Beta and as great as the Rails::API integration is, I think by far my favourite new feature is Action Cable. A lot of…
Read More
Close up of calendar
May 25, 2016

Rails spelunking – date_select

Digging into the code that makes date_select and its brethen work
Read More