How to upload files from a Phoenix app to Amazon S3 - a straightforward and ready-to-apply tutorial
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.
Design patterns in large Ruby on Rails web applications: constructing a Query Object class that is responsible for elegantly querying a database. Read our blog post to find out how to make a simple and easy to test Query Object implementation within a Rails application.
Mar 16, 2018
It’s time to get started with Part 4 of our GraphQL series. This time we will build an API with Ruby on Rails. This will provide the same features and functionality as an API built with Node.js, as we covered in part 2.
Mar 9, 2018
Learn how to upgrade your Heroku database easily and with the quickest downtime. We walk you through the exact steps needs to roll over your PostgreSQL database in this quick read.
The first rule of software is that you need to create and store database backups from time to time. This is also the case when using Dokku with PostgreSQL for hosting your apps. To automate the process and make it easier, it’s best to schedule your backups automatically, encrypt them and send to your AWS S3. We provide the know how in our step-by-step explanation.
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?
Feb 23, 2018
In part 3 of our GraphQL series, its time to put our API into action - this tutorial will guide you through creating a simple GraphQL client web app, all through the use of the Vue.js framework. Contains all the relevant code you need for the project!
Feb 16, 2018
It’s DevOps tutorial time again! This time around we take a closer look at Kubernetes, the container orchestration package, and how we can use it to deploy and load balance clusters on AWS with Kubespray.
Feb 9, 2018
This article marks the latest chapter in our GraphQL series. In the first part of our series, we went through Explaining GraphQL and How it Differs from REST and SOAP APIs. GraphQL is a newcomer in helping us to build efficient APIs and is becoming a highly viable alternative to REST.
Jan 26, 2018
The Ruby community is active and thriving all around the world - also in Poland, where there are many user groups that organize frequent meetings to discuss everything Ruby. One of them is the Rzeszów Ruby User Group (RRUG), that iRonin proudly supports, with our employees participating in meetings for quite some time. Learn more about RRUG right here.
Jan 19, 2018
Thanks to Chain’s new Ivy language for Bitcoin, we’re now able to build smart contracts in Bitcoin with ease - even if it is still experimental. This post covers smart contracts in Bitcoin, Ivy, plus full code examples, including a Mutually Assured Destruction (MAD) Escrow transaction.
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.
Wielka Orkiestra Świątecznej Pomocy (WOŚP), the biggest charity foundation in Poland, holds on Sunday, Jan. 14 its 26th Final. The foundation has been dedicating resources to purchase medical equipment for newborns. This year we decided to support a just case and help gather money for WOŚP. Find out how you can join us.
Jan 4, 2018
Get smart. In this article, we continue our series about Smart Contracts that build on Ethereum’s blockchain backbone, with a focus on deploying and verifying the Smart Contract we wrote previously.
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!
Dec 20, 2017
Blockchain and cryptocurrencies are the hottest topics right now, as the value of cryptocurrencies, especially Bitcoin, is record-breakingly high. Central banks are now even starting to look closely at how to treat digital money, since the popularity of blockchain technology and cryptos is skyrocketing. As a tech company, we are interested in the technology behind cryptocurrencies - the blockchain. One of the most interesting subjects in the crypto space are Smart Contracts on the Ethereum blockchain.
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.
Dec 6, 2017
A step-by-step guide to sending emails from a Phoenix web app (Elixir). If you don’t have any on hand - don’t worry, we will show you also how to create a Phoenix app, then how to write your first mailer to be sent from it and how to preview emails during development. Let’s go!
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.
Nov 23, 2017
At iRonin we are becoming more and more involved with Ruby on Rails events, and especially Rails Girls! This year we had great pleasure in being the Sponsor, the Mentor, and the Organizer of Rails Girls 2017 Rzeszów and Poznań editions. Additionally, one of our employees from the Operations Department signed up as a participant to try her hand at coding and get to know more about the daily job of programmers, to see what her teammates at iRonin do on a day to day basis.
There’s a new kid in town… GraphQL presents a new way to build APIs, that builds on solid concepts of the past and comes to grips with the inefficiencies RESTful architectures. Check out the differences, similarities, and comparison code snippets in this article.
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.
Sep 15, 2017
An introduction to serverless architecture; we outline the pros and cons of using this setup for running applications and take you through an example serverless app. We’ll guide you through building your own serverless web service with Node.js so you can see just how efficient this technology really is.
Sep 1, 2017
We’re thrilled to announce that companies can pay for our services with cryptocurrencies such as Bitcoin (BTC), Bitcoin Cash (BCC), Ethereum (ETH) or Litecoin (LTC). Find out more about cryptocurrencies, blockchain technology and our offering.
Aug 25, 2017
A step-by-step guide to installing the Elixir programming language with version manager asdf. Asdf is also handy for installing and managing Erlang, as well as for managing other languages and databases. Here’s how to easily obtain Elixir and Erlang and set them up on your Mac.
Built your interactive web application using Vue.js with Webpack and wondering how to deploy it? We explain how to deploy Vue.js Single Page Applications to Heroku.
Aug 7, 2017
We provide IT solutions while working remotely from various locations and once in a while, our team of IT experts meet for a fun and talks-filled retreat to get to know each other better. Read about our company trip to Warsaw.
The more you automate your software configuration tasks, the more time you save. Here’s how we used Hubot, a “virtual user” add on for HipChat and Slack, to deploy software (and more!) with ease.
In this guide we run through how to install Docker, set everything up for easy configuration in the future, and run Ruby on Rails web application smoothly. Includes all code snippets required!
Jul 14, 2017
At iRonin, we have a vast amount of experience in creating interactive web applications. In this piece, we would like to show you how to write Single Page Applications with the Vue.js framework, with ready-to-use solutions and code snippets as examples.
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.
Don’t know where to start with your servers and application security? Need to know if you’ve plugged all the gaps? We’ve chopped down your essential systems security concerns into bite sized pieces so that you can implement them with ease.
Here’s the story of how we took the Creatubbles kids’ creative platform app, and breathed fresh life into it - with an Ember.js Single Page Application frontend, for awesome User Experience and a fast and responsive interface. Shout out to working with an excellent global software development team on this project!
May 26, 2017
84K in savings a year? Yup, that’s how much we managed to save this one company by migrating their app from Heroku over to AWS and reconfiguring their code – all because we were fine tuning performance. Moral of the story here is: make sure the team you have on board to write your code are good at what they do – otherwise you might just need to get our DevOps and software developers team in to help sort things out later…
The more cloud services grow in complexity, size and reach, the more security and automation need to be enforced. There are many different approaches to ensuring that systems stay safe from the harm of threats such as DDoS attacks and rootkits, like antivirus software and firewalls. It is also highly beneficial to implement a custom Intrusion Detection System, to monitor your network and systems for malicious activity and policy violations.
May 10, 2017
We just love it when we stumble on new ways of doing things that make our lives easier. As developers, finding a new solution or tool that fixes issues with the way we’ve been doing things is sort of like finding gold.
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 28, 2017
Want to build software that works on any machine, any configuration? Use Docker. Bridging the gap between programmers and other stakeholders involved in producing a software product for desktop, enterprise, web, or mobile (i.e. testers, system admins, the DevOps team, management and even customers!), Docker is what is known as a containerization management tool that is a unique new twist on traditional virtualization.
Mar 22, 2017
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.
Mar 10, 2017
Last time we showed you how to deploy Phoenix application to Heroku. In this article we will show you how to host static website there.
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.
Jan 14, 2017
We like Elixir & Phoenix, and we like Heroku. So one day we thought: why not combine them? In today’s post we talk about how to deploy a Phoenix app to Heroku.