preloader
軟體工程 Grape-rails-routes gem的使用疑問

It’s handy to use Grape-rails-routes gem. But I have a question about that. Why should I need to open the routing page localhost:3000/rails/info/routes_with_grape of grape-rails-routes gem first after I launching rails service and before using OAuth clients? If I don’t do this, my Oauth clients can’t access API services even access tokens in my clients are valid. README.markdown of Grape-rails-routes doesn’t mention that. Until now, I still find no answer

read more
軟體工程 Update values of variables of gon gem with pagination

Situation: When I clicking a next-page link for changing content of current page, the chart drawed by C3js doesn’t update with new data. 問題發生情況: 當我按下網頁內容中的下一頁連結,網頁的折線圖並沒有跟著新資料重新繪製。 Environment: A rails app with

read more
軟體工程 Make Postgres support full text search in Mandarin/Chinese for Rails 讓Postgres 開始支援中文全文檢索

I use the gem pg_search in rails as a light-weight tool for full-text searching task of Postgres, but Postgres doesn’t support the function well in Mandarin/Chinese. After finding solutions, I take the combination of tools for full-text search in Postgres, which are pg_search gem, SCWS and zhparser. Doing it yourself according content in following links, you will setup successfully too. Remark at 20160131: This tutorial requires postgresql-server-devel-{VERSION} at Ubuntu and

read more
軟體工程 Grape 0.12 with Rails 4.1

原本以為自己使用Grape gem撰寫的API,一直收不到參數值,也查不到資料庫的內容。嘗試了很多次,幾乎放棄了,今天終於找出為什麼無法顯示查

read more

About

Howard Lee is a Staff Software Engineer based in Taipei, specializing in frontend architecture, CI/CD, and production-quality engineering for enterprise web applications. With 13+ years of software development experience, Howard has worked across B2B SaaS, IoT energy-management platforms, online travel marketplaces, and Android applications. His work focuses on modernizing large frontend systems, improving delivery quality, and building reliable product workflows with automated testing, observability, and practical cloud/platform integration. Core Expertise Frontend architecture: Angular 5 to 19 modernization, TypeScript, JavaScript, React, Next.

Know More

Tag

Social