Blog posts with web dev tag

Top 19 Ruby gems you can’t miss in 2018

It took us three long years to give you an update on the Ruby gems our devs find the most useful or simply fun in their work. But, well, here it is. We are extremely pleased to bring you the list of gems you simply cannot miss in 2018.

Read more

Pair programming in a software house: yes or no?

Over the years, pair programming has become a widely discussed concept in the software development community. The feelings towards it range from love to hate, depending on who you ask. Let us examine various scenarios, the pros and cons of this method and confront it with the everyday reality of a small software house.

Read more

Adding Webpacker to a legacy Rails app

Some say there was not a day without a new JavaScript framework these past years - that means JS is evolving every day. The problem is, Rails does not provide any proper support for those new toys. Unless you get the hang of a gem called Webpacker, which comes bundled with Rails 5.1+.

Read more

Three ways of iterating over tree-like ActiveRecord structures

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

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

Read more

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

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

Ceasta: how to create custom text area using contenteditable element

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

Read more

Brief introduction to internationalization in Rails

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

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.

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

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

Ruby Gem Guide: how to install and work with local gems.

New to Ruby? This Ruby Gem Guide will show you how to install and work with our favourite local gems.

Read more

Why do we do Open Source?

As we make our living from using open source projects we feel that we owe something to the community, that we need to pay back our own contribution. To create the greater good that everyone may benefit from. Yeah, we’ve all heard that before, right? ;-) But besides paying a debt of gratitude, are there other reasons for opensourcing our own code? What exactly makes us do the open source?

Read more

SAP Hana Rails App with SAP Authorization system

If you have a Rails application running on the SAP Hana platform the issue you may encounter is how to allow users to login with their SAP account. We’ve managed to accomplish it and we would like to share with you a small tutorial about how we did that.

Read more