kukicola.io

Writing about ruby, rails and other web technologies.

Useful Active Support features you may not have heard of

Posted on 2021-05-10 by Karol Bąk Comments
ruby
rails
activesupport

Active Support is a really powerful library that is a part of Rails framework. Today we will focus on utilities it includes, which can be useful in your next Rails project or any other ruby app. Read more

Automatic image moderation using Amazon Rekognition

Posted on 2020-02-10 by Karol Bąk Comments
ruby
aws
rails

Today we will focus on Amazon Rekognition which can help us with automatic moderation of uploaded images. By adding custom validation we can prevent uploading images which contain nudity, violence or other inappropriate content. Read more

Handling Ruby 2.7 deprecations warnings

Posted on 2020-02-03 by Karol Bąk Comments
ruby
rails

In Ruby 3.0, positional arguments and keyword arguments will be separated. For now ruby 2.7 brings deprecations warnings that notifies us that our code should be updated. How should we handle them? Read more

Deploying Rails 6 application with Dokku

Posted on 2020-02-01 by Karol Bąk Comments
ruby
rails
dokku
devops

Dokku is a simple PaaS that allows you to easily deploy your application. After short setup it can be a great substitute for heroku. In this article I'll show how to deploy Rails 6 app with postgres, sidekiq, redis and Let's Encrypt SSL certificate. Read more