Philosophy Quotes

Philosophy Quotes
When I read an article or book about anything, I like to get some notes about the quotes or brief expressions about the topic. In this post, I’ll share them. Some of them are Turkish, but it is worth sharing them. “The School of Athens” by Raffaello Sanzio da Urbino – Philosophy The following ones ...

Parallel, Concurrent and Using both of them in Ruby

Parallel, Concurrent and Using both of them in Ruby
Hi everyone, I’ve been working on a food delivery platform for over 1 year and we have some traveling salesman problems in the background. But this problem is a little different one the original problem, we add some time constraints to routing. So for this type of problem we need to make some fast calculations. ...

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

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

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

Git commands that are I liked
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

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 ...

GitHub’da SMS ─░le ─░ki Fakt├Ârl├╝ Kimlik Do─črulaman─▒n +90 T├╝rkiye Numaralar─▒ ─░├žin Aktif Hale Getirilmesi 1

GitHub'da SMS ─░le ─░ki Fakt├Ârl├╝ Kimlik Do─črulaman─▒n +90 T├╝rkiye Numaralar─▒ ─░├žin Aktif Hale Getirilmesi
Merhabalar, GitHub bildi─činiz gibi a├ž─▒k kaynak proje kodlar─▒n─▒n yan─▒nda ├Âzel projelerin kodlar─▒n─▒n da depoland─▒─č─▒ g├╝zel bir servis. Bu servis her ├╝lkede oldu─ču gibi ├╝lkemizde de olduk├ža kullan─▒lan hatta GitHub’a eri┼čim engellendi─činde insanlar─▒n mizahi bir ┼čekilde bir ├žok sitem de bulundu─ču g├╝nl├╝k hayat─▒m─▒zda vazge├žilmez yerini alm─▒┼č bir servistir. Velhas─▒l gelelim sadede, GitHub ├╝zerinde bir ├žok ├Âzel repo ...

Capistrano 2 ve 3 ─░├žin Git Remote Url’in De─či┼čtirilmesi Sonucu Olu┼čan Hata ├ç├Âz├╝mleri

Capistrano 2 ve 3 ─░├žin Git Remote Url'in De─či┼čtirilmesi Sonucu Olu┼čan Hata ├ç├Âz├╝mleri
Merhabalar, Daha ├Ânceden Ruby on Rails uygulamar─▒n─▒n sunuculara deploy edilmesi konusunda bir yaz─▒ yay─▒nlam─▒┼čt─▒m. Bu g├╝nlerde┬ágit remote repolar─▒m─▒z─▒ Github’dan Bitbucket’a ta┼č─▒nmas─▒ ile ilgili kararlar ald─▒k. Fakat git remote┬árepolar─▒n─▒ Bitbucket’a ta┼č─▒mak demek, deploy s├╝re├žlerinde capistrano 2 veya 3 kullan─▒lan projelerde de set :repo_url, 'git@github.com:your_username/your_repo_name.git' ayar─▒ ile belirtti─čimiz repo url’i g├╝ncellemek anlam─▒na geliyor. Ba┼člang─▒├žta basit bir i┼člem ...

Ruby on Rails Uygulamasının Heroku Servisinde Çoklu Ortamda(Staging, Production) Yayınlanması

Ruby on Rails Uygulamasının Heroku Servisinde Çoklu Ortamda(Staging, Production) Yayınlanması
Merhaba, Sizlere daha ├Ânceden rails uygulaman─▒n yay─▒na al─▒nmas─▒ y├Ântemlerinden biri olan kendi ubuntu sunucunuzda uygulaman─▒n yay─▒nlanmas─▒ i┼člemini anlatm─▒┼čt─▒m. ─░lgili yaz─▒ya ┼ču linkten ula┼čabilirsiniz. Bu yaz─▒da ise uygulaman─▒n Heroku servisi ├╝zerinde, ├žoklu ortamlar(Staging, Production) i├žin ayr─▒ ayr─▒ yay─▒na al─▒nmas─▒ s├╝re├žlerinden ve her bir ortam i├žin farkl─▒ git branch’lerinin kullan─▒lmas─▒ olay─▒ndan bahsedece─čim. Heroku ├╝zerinde yay─▒na alaca─č─▒m─▒z uygulaman─▒n ...