Ruby articles by our experts
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.
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.
Jul 13, 2018
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.
May 25, 2018
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.
Mar 30, 2018
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.
Feb 24, 2018
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?
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.
Dec 28, 2017
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!
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.
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.
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.
Jun 28, 2017
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.
Jun 16, 2017
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.
Apr 21, 2017
Today I wanted to have a closer look at the different ways for passing boolean arguments and assigning default values to them.
Mar 31, 2017
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!
Mar 22, 2017
Mar 3, 2017
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.