What Happens When You Upgrade Rails 5.0 to 5.2 and Ruby 2.4.3 to 2.5.3

What Happens When You Upgrade Rails 5.0 to 5.2 and Ruby 2.4.3 to 2.5.3
4 days ago Rails v6.0.0.rc1 was released. This means new version will be released in a few weeks, this is important, because new version includes some performance improvements and the performance is everything for apps. In the beginning of this year (2019) I’ve started to work on legacy rails app that is version v5.0 and ...

Heroku /Sidekiq error when kill/retry job – 403 Forbidden on Heroku

Hi everyone, I’ve faced this problem on heroku when i deployed Ruby on Rails web app to free dyno Solution for custom domains is like below; You need to force ssl your rails app in config file. Because heroku app use default https scheme for app url. If you do not force it, it will ...

How can I deploy beego app to Heroku

Recently I’ve searched go web app frameworks to create hobby project. I’ve been found this article https://nordicapis.com/7-frameworks-to-build-a-rest-api-in-go. Then I’ve looked all seven project github repos. I like https://github.com/astaxie/beego project and start to develop app. I’ve been created API project and tried to deploy it to heroku. But there is no documention for it. So I’ve ...

Git commands that are I liked 1

Hi, I will share git commands that are I liked and used always in this post. Maybe it can be helpful for you. Have fun..

Custom field example for Ruby on Rails with Activerecord & PostgreSQL & Metaprogramming

Hi, Sometimes instead of specific db fields, you want to store custom field on database that is changing according to user needs in same app. I coded following method to store this type of dynamic data. As you see in codes, it uses metaprogramming methods. Also, there is simple validation to custom field that is ...

Deploy Ruby On Rails Application Swiftly With Capistrano

Deploy Ruby On Rails Application Swiftly With Capistrano
Hi everybody, In this post, I will talk about the  Capistrano  deploy tool on Ruby On Rails and I will share some code blocks that is a bash script for to start the server from zero level. I am using Ubuntu-14.04 server. Capistrano version is 3.4. Ruby version on my server is 2.2.3. Capistrano is ...