All Ruby on Rails Node JS Android iOS React Native Frontend Flutter QA
WebAssembly, shortened as WASM, is a performance optimized solution enabling web applications to run at a near-native speed. It is a cutting-edge technology with the current state as an MVP (minimum viable product), not the final version of WASM. Even though the standard is still evolving and new features are being added, the current, MVP version of WASM is guaranteed to be compatible with future releases. 
Read more
How can we read files in Ruby? * Testing file generated by running a following command: ❯ openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem It has a clearly defined the beginning and the end of the file which fill be useful while reading the files.
Read more
The materialized view is a powerful database solution that allow us to access the view’s data faster by “caching” its response. The materialized view query is executed once when the view is created, not when accessing the data as it is with regular database views. It is a great and worth using feature when we do not need a view to return the most recent data or we know that we will more often read the view’s data than we will modify them. There is only one small problem while using such view: we need to handle the refresh of its data manually.
Read more
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
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
Developers at Netguru improve their skills every day. We are trying to be better and better, and thus we always look for and test new languages. Besides running internal workshops we look for knowledge online. We asked our team members what podcasts they listen to and youtube channels they watch to improve their coding skills. Their recommendations are:
Read more
We, developers, find ourselves in fascinating world of bursting technology. It changes rapidly, not waiting for anyone. We have to adjust. I will show you today how to use CircleCI 2.0 as a workhorse for your end to end tests.
Read more
In-App Purchases (IAP) is a widely used method for unlocking content in an iOS application. Though the "heavy lifting" (the payment itself) happens on the client side, it's highly probable that you will need to somehow respond to that payment on the server side, and that is what I'd like to talk about briefly in this article.
Read more
5000. That’s the approximate number of results when you type in "programming ruby" in the Amazon.com search box. Assuming that you read 1 book per week (which is, by the way, a very good result in my opinion), you need about a hundred years to read them all. But to be a professional programmer you should not limit yourself to just reading the books related to technology you primarily work in, so imagine how much more of them are not included in this 5000.
Read more
Newer
Need a successful project?
Estimate project or contact us
Netguru Codestories | Ruby/Ruby on Rails