All Ruby on Rails Node JS Android iOS React Native Frontend Flutter
Postgres complex data types (hstore, json, jsonb, array) are very useful tools in database design. Having multiple values under one attribute definitely has its use cases. There are plenty of articles that compare the NoSQL database performance to the PostgreSQL JSON datatypes. Their results show the maturity of tools provided by this database management system. So which data types are best suited for what?
Read more
 Most of the time when we need to query some data from our database in a Rails based application, we just use ActiveRecord query interface. When the query is more complicated, we write it using SQL language. Sometimes it may be needed to use such SQL query in more than one place. In such cases (to better stick to the DRY principle), we can consider using a database view. In this blog post, I will present what are the database views and how to easily use them in Ruby on Rails application with the help of a Scenic gem.
Read more
Thread synchronization is a topic that gives many developers nightmares. It's a very serious issue, hard to debug and solve, especially in desktop apps. However, web developers sometimes also have to tackle the challenge of making multiple threads work nicely with each other. So, what exactly is the problem here?
Read more
Every program receives some kind of input data. It can by anything - from variables, command line options, HTML web forms, and configuration files to binary data. All of this needs to be checked to prevent unexpected errors from happening. Although ActiveModel::Validations is great for web apps and simple models, it isn't very flexible for other types of validation and complex dependencies.
Read more
In the first part, we discussed the "N+1 queries" problem and how to deal with it using Rails' ActiveRecord. In this part, we will discuss some other useful ActiveRecord methods that can help us achieve some results faster or just in a more elegant way.
Read more
Today we have something about a problem well-known to experienced developers. We will discuss the N+1 queries problem and how to deal with it using ActiveRecord.
Read more
Some time ago, I had a chance to build a very small app handling HTTP requests coming from Slack. I decided to choose a lightweight framework, so I skipped Rails in favour of Sinatra. In this blog post, I would like to help you out with the first steps toward using something different than Rails, but from the perspective of a Rails developer. Why? Well, a lot of Ruby developers might be called Rails developers because the only framework they have ever used is Rails. As you can see here, there are many other web frameworks for Ruby, and I’m pretty sure that most of them sound strange to you. Let me introduce Sinatra!
Read more
The web development world is changing fast. I feel that we are moving towards splitting monolith web applications in two, by extracting backend part into an API. This solution, even though it has many pros, it brings in some difficulties as well. One of which are end to end tests.
Read more
Swift has been around for some time now, and it is becoming a more and more appealing solution, not only for mobile and macOS developers – the next frontier is the server side! The ultimate aim is to enable developers to build complete products solely in Swift, with backend and frontend. Swift,  which is a fast and safe language by design, has recently gained support from a few important players with their frameworks for building server-side Swift applications. The three most frequently used frameworks are Perfect, Vapor, and Kitura. Let’s compare them!
Read more
Every Rails developer knows that loading assets can be really time-consuming. Here are some useful tips on how to speed it up.
Read more
Newer
Need a successful project?
Estimate project or contact us