01caa77a1f122a1371fed292cab37c72

Search with autocomplete using Twitter Typeahead

Adding simple, easy to customize and reliable autocomplete functionality has always been one of the topics that I thought wasn't very clear for Rails applications. During my last project, I finally decided that I would do some serious research and find one solution that I could use later without hesitation. And here it is: my choice is to use Twitter typeahead.js library.

Continue reading
Afd10449c8a73947a45c76c7ff5c2ba5

Intro to digital nomading

My favourite definition of the term digital nomad is 'Someone who flies across half the globe to look for good wifi in Starbucks'.

Working remotely comes with a lot of perks. Deploying to production in your pyjamas or fixing a critical bug while sipping coffee in your favourite bar may sound appealing, however, having worked more than a year remotely, I still had the feeling that I wasn't making the most of it. Recently I decided to give something more extreme a try. Continue working while travelling in Thailand? Why not?

Continue reading
11ec30dedeb7889af512461ba7ce6a45

Readline Editor

Last weekend I watched a really enjoyable talk about the Readline editor by George Brocklehurst. It interested me enough to do some extra investigation. This article shares the results of my little research.

Continue reading
01caa77a1f122a1371fed292cab37c72

The most important lesson

Before working for Ragnarson I was a Rails developer for nearly 2 years. When I finally became one of the "Perfect Programmers", I considered myself a guy who knew enough stuff to take another step forward. I felt ready for new challenges. But it quickly turned out that there was one important skill I was missing which was not related to any technical knowledge. In simple terms, I can say now that I wasn't 100% professional about my work. But what exactly does that mean?

Continue reading
40716cc1589577b8eb672d97953c264f

Problems with typical Rails controllers and before actions

One of the most common practices when writing controllers in Rails is using before_actions to keep them DRY. Sure, repeating code is a bad practice and leads to maintenance nightmare, but what happens when the readability drastically deteriorates after making the code DRY to the max? Is it still worth it? Let's see how it applies to controllers, what are the consequences and possible solutions

Continue reading
11ec30dedeb7889af512461ba7ce6a45

How we built Ruby PaaS - Part II: Gem and web interface

This is the second post of the series on our blog, in which I'll present to you the part of our infrastructure that is visible to the users. Here you can find links to past and, when we publish them, future posts:

Continue reading
40716cc1589577b8eb672d97953c264f

Extending Objects' Behavior With Module#prepend

Ruby 2.0 came with some pretty useful features like lazy enumerators, keyword arguments, convention for converting to hash. There is also Module#prepend, which is not that commonly used, but there are some cases where it really shines. Let's see what we can get from that feature then

Continue reading
9de6bb72e517c276516d85e2e9fef89a

The cost of using Ruby Gems

Gems are great...

Gems are a superb tool for every Rubyist. They can help you rapidly implement complex solutions in your applications without having to reinvent the wheel

Continue reading
648ea1dd48c0604f1d50a6d8c8be9e66

Rails Girls Łódź 2015

The second edition of Rails Girls Łódź took place a few weeks ago and I cannot be more proud to have been a part of that – again. The recipe for a great workshop boils down to just a few good quality ingredients. Come along, I'll show you

Continue reading
6b844a73471cf2b060cb54d0b2f16161

Be aware about the out-of-memory killer

One of the most important things for applications is stability. There are various hosting platforms that give you virtual servers, where you can run multiple services. There is no limit to the number of processes so it is up to you how much of their...

Continue reading
×