Web, Mobile, DevOps Experts

Ruby articles by our experts

Sep 20, 2018

When Ruby is better for building your software product than Python or PHP

Do you know what Airbnb, GitHub and Kickstarter have in common? Their websites are built with Ruby on Rails, a well-known and much-loved back-end framework. Though widely used for large-scale projects, Rails offers a particular advantage to startups, as it allows for rapid development and helps shorten time-to-market while maintaining high code quality. Rails is a web framework for the programming language Ruby, which has been around since the mid 1990s and is still popular among developers. Its main rivals in the world of web development are Python and PHP, and in this article, we’d like to take a closer look at the advantages and disadvantages of these three technologies.

Read more

Jul 27, 2018

OS Time Travel When Testing Ruby on Rails Web Applications For System-Wide Time Events

Recently, we had an interesting request from one of our clients where we needed to implement time travel for testing purposes - or fake time travel at least! The Quality Assurance (QA) team of one of our clients wanted to test functionality under particular time constraints within their application. To do that, they needed is to move the application’s internal clock to check and see whether some these time-based actions were allowed or forbidden (depending on the case). Mocking up operating system’s datetime settings on Heroku was the answer, with setting up environmental variables for datetime testing. Heroku datetime testing in a Ruby on Rails application required a little configuration - but we were able to get the job done.

Read more

Jul 13, 2018

Sending Logs From Your Heroku App to Datadog

Are you using Datadog and Heroku? Would you like to send your Ruby on Rails application’s logs to Datadog for history purposes and easier processing? We will show you how to do it.

Read more

May 25, 2018

Web UI Manipulation with Ruby for testing and beyond

Web UI manipulation for testing, data extraction, or web scraping, is a complicated and comprehensive process. Websites that contain an abundance of JavaScript code and unprecedented iframe structures can be hard to extract through simple requests. Capybara, paired with Poltergeist driver, makes it simple and hassle-free to retrieve complicated data from any kind of website. This tutorial will explain web scraping using Ruby and Capybara; it will highlight in detail how to use Capybara cookies in RestClient Gem Requests for a smooth data extraction.

Read more

Apr 6, 2018

Improve Performance and Save Money with These Software Development Tricks

Often improving performance means saving money, and vice versa - when looking into how to save money, we can find ways to optimize the performance of Ruby on Rails apps. We care deeply about efficient and economic work, so we often come up with solutions to save money, development time and make our jobs easier.

Read more

Mar 30, 2018

iRonin at 2018 Wroclove.rb: Thoughts from our Devs

It’s that time again… the weekend of 16-18th March was time for iRonin Ruby on Rails developers to get excited and head to Wroclove.rb - the most prominent event in the Ruby community, that we have been supporting since 2015. It is almost a company tradition to visit Wroclaw and participate in this amazing event for Ruby enthusiasts and developers. Check what our top Ruby developers have to say about this event.

Read more

Feb 24, 2018

It’s Ruby’s 25th Birthday!

It’s February 24, which means we are celebrating Ruby’s 25th birthday! 😉 Happy birthday to one of our favorites - has it really been that long?

Read more

Jan 12, 2018

Intro to Arel: The Database Agnostic SQL Abstract Syntax Tree for Ruby

Those in the know use Arel as a clever SQL AST manager for Ruby. It makes SQL queries easy to read, reliable, and secure - and it’s database agnostic. Learn the basics of Arel right here in our mini-tutorial.

Read more

Dec 28, 2017

Store Your Files on S3 Using the Ruby Shrine Gem:
Part 3 - Uploading Files from a Remote URL

Part 3 in our series, our final blog post tackles uploading files from your Ruby web app to S3 as a background process using the Shrine gem, referenced only by a remote URL. Detailed instructions and code inside!

Read more

Dec 15, 2017

Store Your Files on S3 Using the Ruby Shrine Gem:
Part 2 - Direct File Uploads

Learn how to directly upload files from your Ruby web app to Amazon S3 storage using the Shrine gem in Part 2 of our series. Covers all the code and configuration files you need to upload efficiently as a background process.

Read more

Nov 27, 2017

Store Your Files on S3 Using the Ruby Shrine Gem:
Part 1 - Setup & Configuration

Store Your Files on S3 Using the Ruby Shrine Gem (Part 1 of our series), details how to set up the Shrine gem and configure it for uploading files to S3. Our goal for the series is to upload files as a background process, as well as check the files for correctness as a security measure. Follow our step by step instructions right here.

Read more

Oct 3, 2017

Manipulating Files on Amazon S3 Storage with Ruby’s Fog Gem

Storing web application user files is quite easy with Amazon S3, Amazon’s highly scalable and durable object storage. We will show you how to connect it to your Ruby web application and manipulate files on it with a use of a Ruby Fog gem.

Read more

Jun 28, 2017

Fin-Tech Projects Best Practices - Case Study

In the super critical sphere of fin-tech web app development, there’s no room for mistakes. Find out in our case study of a Ruby on Rails US Lease Management System the best practices for dealing with systems where customers real money is at stake in every line of code, every piece of the infrastructure, and in every hour of the day.

Read more

Jun 16, 2017

Interview with our longest working Ruby expert

We would like to introduce you our longest working Ruby expert. Read an interview with our first on-boarded Ruby developer, where he talks about his impressions after over 5 years of agile software development with our company and his personal career path. Plus he shares his thoughts on iRonin’s journey to its prestigious current position and on IT world in general.

Read more

Apr 21, 2017

How to deal with boolean parameters in Ruby

Today I wanted to have a closer look at the different ways for passing boolean arguments and assigning default values to them.

Read more

Mar 31, 2017

Unexpected Case of Rescue Exception

When you work on a project that’s been around for quite a while, you’re probably going to - sooner or later - encounter a few skeletons in the closet. These skeletons might be sections of code or design patterns that people know about, know they are bad, and yet no one is addressing them for various reasons. Probably because nobody wants to do the redesign if the code just “works” - even if it’s terrible. What’s worse is when these same structures or patterns are being repeated, because people are blindly following them!

Read more

Mar 22, 2017

iRonin @ wroc_love.rb 2017 Ruby Conference

It was a very Ruby weekend over the 18th and 19th of March at the wroc_love.rb conference! It’s our third time supporting this awesome event, and it only gets better.

Read more

Mar 3, 2017

Partial unique indexes in PostgreSQL and Rails

Working correctly with database indexes is always the key to application performance and reliability. Especially when the amount of data grows rapidly, well designed database architecture really pays off. However, when we’re working with database indexes, it can be easy to miss something, or fall into the trap of a tricky outlying case. One of these is when performing unique indexing on multiple columns, where at least one of them is null.

Read more