What is debounce? Debounce is a very interesting and important concept in programming. It...
We sometimes need to check if a value is included in an array. There are many methods to achieve...
I recently built a gem, https://github.com/kevinluo201/fx_rates, which is an API wrapper for a good...
I was impressed very much by @alvaromontoro's work Drawing...
Introduction Rails Hotwire is good but sometimes you want to build a more reactive. Vue.js...
Introduction When we develop a website, we usually connect to our development server via ...
TL;DR; I used ChatGPT API to translate the Rails Guide into different...
Introduction If you're a Rails developer, I bet you have already heard of or used devise....
We can use datetime-local to let user enter a date-time string. Most browsers have already...
Introduction Ruby on Rails doesn't provide an official authentication solution despite...
Introduction When speaking of authentication, devise is usually the go-to gem developers...
Introduction devise is the most popular gem in Rails for authentication. However, it's...
這次想介紹 RSpec 的 Request spec 什麼 Request spec? 為何推薦使用它? Request spec 故名思義,是專門測 HTTP 請求的測試。一個...
I'd like to introduce what is RSpec Request spec, how to use it and why to use it. I will also share...
自從有了 Sidekiq 後,所有事情都變得容易了。 所有需要長時間執行的程式,我全往 sidekiq 扔,我再也不用怕 CloudFlare 的 524(請求超時) 了(咦?) 在...
I also have Traditional Chinese version 利用 systemd 在 Ubuntu...
最近研究了一下用 Github Actions 做 Rails 的 CI ,分享一下經驗 : ) Github Actions 是 Github 的自動化工具。 Github Actions...
把前端封裝(encapsulation)是從 React.js 以來的趨勢, Github 前年受 React 啟發表了一個 view_component 的 gem, 並用在 Github 裡。 不...
因為看到 ruby3 的 release note 裡特別有講把 base64 放上 rubygems.org https://github.com/ruby/base64 也讓我想到好像至今沒有真的了...
JWT是 JSON Web Tokens 的縮寫。 最近工作上需要用 JWT 來互傳資訊, 覺得這東西用起來是滿簡單的。 只是結合多個概念,一開始不是很好懂,紀錄下理解的過程。 最後再介紹利用 jwt...
分享最近把專案從 Rails 4.2 升級到 6.0的心得。專案是公司內部用的系統。 TL;DR Upgrading Ruby on Rails — Ruby on Rails...
Although the approved PRs are still maturing, I'm happy that I did it! I'm a Rails developer for ma...