In this blog post, I’ll walk through the entire setup of the AWS s3 bucket for Ruby on Rails with ActiveStorage.

Let’s begin with ActiveStorage configuration first and I would assume you already have rails project generated where you want to implement this functionality :

First, we going to install ActiveStorage by running this command in your terminal$ rails active_storage:install , it will generate some migration files for you so went we need to run it as well $ rails db:migrate .


While I was working on my final project for Flatiron School I’ve encountered a few problems with sessions and I wanted to cover this subject in a little more depth. I gonna give you a heads-up and say that there is no right answer that suits all of the cases, and that’s why I wanna go over them and talk about the options.

First of all, this publication is targeted at people who’s want to deploy their projects and I’m going to connect the dots on a few deployment options and how can you handle your sessions in those cases.


If you just started with javascript or started to play around with it then most likely you’ve seen a Promise in your developer console using fetch requests.


Have you ever visited a website with a really awesome background animation? Click on the link to see it (you can choose different ones right at the bottom). Have you ever wondered how on earth did they do that? Well, it’s all thanks to a canvas, an HTML5 element.

What exactly is canvas? It’s an HTML element like <div> or <h1> but unlike those canvas is used to draw graphics, on the fly, via JavaScript. The <canvas> element is only a container for graphics. …


Transitioning to Rails after Sinatra was pretty smooth since they have a lot in common, MVC in particular. The Big difference I wanna say was a division of routes from controllers but besides the fact that rails is way more advanced and have over 200,000 lines of code in its engine vs 2,000 lines in Sinatra’s. Doing the Sinatra project I really liked that you can just write


Being a student at Flatiron Bootcamp is very exciting! In the second module, we were learning Sqlite3 to operate on databases, ActiveRecord framework that manipulates data in database using ruby language, and Sinatra framework that allows you to host a web app and add a bunch of routes to it.

After completing the second module it’s time for a project which is to build your own Sinatra web application. Honestly, I couldn’t wait to get it going, but you need to make sure that you absorb all of the materials provided to you before you dive in, otherwise, it will…


It’s been three weeks of an amazing journey at Flatiron Bootcamp. We started with ruby and all of my previous coding experience was a month of self-paced learning javascript in Bootcamp prep class. The first impression was like “Really? It’s that straightforward?”, it was like communicating with a computer in the English language without semicolons in every line and brackets all over the place. Really pleasant experience learning the basics of ruby and highlighting all that is Object Orientation. For me it was mind-blowing to be introduced to such a concept and object relationships made it even spicier.

After finishing…


There is no doubt that the tech industry is very well known considering the huge impact it has on our everyday life. Most people take for granted all the hard work and effort put into developing things that you use every day without even thinking where it comes from and how it even works. I was always amazed how progressively everything around us was being developed and things were discussed as something futuristic becomes a new normal just a few years later, amazing isn’t it? Every time I open up an app on my phone or a video game or…

Alex Okarkau

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store