Three ways of iterating over tree-like ActiveRecord structures

21.06.2018 | Szymon Soppa

You are building an e-commerce app and at some point you introduce a Category model as a part of Product data. A Category can have various subcategories, which are represented by the same model. At this point, it's obvious we are dealing with a tree-like data structure. Step by step, I'll introduce three ways of iteration over such a structure and compare their performance.

Read more

Starting with Rails - how to set up a development environment

Take your very first steps with Ruby! This tutorial will show you how to set up an environment for future development in Ruby on Rails.

Read more

Rails 5.2 and Active Storage - the new approach to file uploads

13.04.2018 | Robert Kaczmarek

Rails 5.2 and Active Storage - attach files, the modern way.

Read more

Capistrano deploy to ubuntu with systemd, nginx/puma and rbenv

27.03.2018 | Maciej Litwiniuk

This tutorial will show you how to deploy a Rails app via Capistrano, run it with Puma, restart it without sudo access and be able to host multiple environments and apps on same server

Read more

8 reasons why people leave your website

Wonder why visitors leave your website in several seconds without engaging or responding to your CTA? There are several aspects that decide if people are willing to continue the journey on your www or click ‘back’ shortly after entering it.

Read more

Ruby on Rails Books for experienced developers

This time we'll jump to the next level by focusing on advanced RoR resources, perfect for those who have vast experience under their belt and feel comfortable in Ruby on Rails environment.

Read more

Ceasta: how to create custom text area using contenteditable element

26.04.2017 | Zuzanna Sawala

Find out how to create adjustable text area using the contenteditable element and add text highlighting.

Read more

Best Books to Learn Ruby on Rails - intermediate level

Part two: RoR tutorials for those with some coding experience.

Read more

Rails Optimization: Introduction To Cache

15.02.2017 | Zuzanna Sawala

As long as your application is small and has a limited amount of visitors everything goes smooth and fast. At this stage you don’t have to worry (well, you should, but let’s assume that time to market was the key factor) about making it more performant by focusing on website optimization. But as your website grows, gains popularity and visitors, loading time starts to increase...

Read more

Best Books to Learn Ruby on Rails

Part one: RoR tutorials for beginners.

Read more

Brief introduction to internationalization in Rails

30.09.2016 | Marcin Pakuła

After creating your Ruby on Rails app you obviously want to reach as many users as possible. That’s the right time to think about internationalizing it, as not everyone is an English native speaker or uses it fluently enough. Fortunately, there is an easy-to-use and extensible framework to make your application multi-language-friendly.

Read more

Active Record - brief introduction for beginners

13.07.2016 | Marcin Pakuła

When creating an app in Ruby on Rails, from the very beginning, on every single step of your developer's journey, you're going to use ActiveRecord methods. Lots of them, and frankly speaking, it's good to know them well (if not by heart).

Read more

Ruby Methods: differences between load, require, include and extend in Ruby.

11.04.2016 | Bartosz Kaczor

Small programs usually can be stored in one file so it won’t be a problem to read (and understand) them. Things start to complicate as your code grows: one day you may lose yourself in your own chaos and find it hard to organize your application. At this point, the best idea is to split your code (as a whole) into several files. To do that you need some helpful tricks that will let you use those files together. That's where the Ruby Methods come in.

Read more

Loops in Ruby - all possible approaches

13.10.2015 | Rafał Mularski

Ruby comes with many statements and methods designed for looping. This amount can astonish both fledgling coders and developers experienced in other programming languages. In this post you'll be introduced to all ways of creating a loop in Ruby.

Read more

Start a project with your dedicated software house

Contact us

* Required fields

Elo Mordo!Elo Mordo!