5 posts about
Community Works

Congratulations on CommonLab Centre!

Congratulations on CommonLab Centre! thumbnail

Common Lab 煥居生活館 Special Thanks 特別嗚謝 7 September 2018 marks the official launch of CommonLab Centre, a social welfare campaign initiated by H.K.S.K.H. Lady MacLehose Centre. As a long term technical partner, our team was invited to the launching ceremony and celebrated this meaningful milestone. 2018年9月7日是由麥理浩夫人中心發起的社會福利運動 煥居生活館 的正式啟動。作為長期技術合作夥伴,我們的團隊應邀參加了啟動儀式並慶祝了這一有意義的里程碑。 The CommonLab Program began...

Read More

Learning Web Programming - 1 Month Curriculum

Q: I want to learn web development, where should I start ? F5 Works offers mentorship to people who are interested in picking up software development. Most of them have no idea what web and mobile development is about. As a result, we have prepared a 1 month curriculum for fresh beginners (and even fresh graduate who has no...

Read More

Gotcha using paranoia - a soft delete gem for Ruby on Rails application

Gotcha using paranoia - a soft delete gem for Ruby on Rails application thumbnail

To implement soft delete mechanism in Ruby on Rails, paranoia is the life-saver. Sample Usage After destroying a record, the record is still stored in the database, but it won't be returned in most of the ActiveRecord collection methods. For example, the following method call only returns Product that has not be soft-deleted: Product.all There are use...

Read More

Use Koala Ruby gem to post "gif" image

Use Koala Ruby gem to post "gif" image thumbnail

Koala is a famous gem for interacting with Facebook activity. Common interaction can be achieved with single simple method call. However, when we develop a Facebook feed poster for gif image, the gif image was not automatically played. Koala common usage For posting a plain text message to my Facebook feed: facebook_graph = Koala::Facebook::API.new(facebook_...

Read More

No command history in Ruby console

When using Ruby console (either by irb or rails console, it's very handy to access previous commands by up arrow. However the history is broken after upgraded Ruby to v2.3+. Turns out it's a native extension readline that required by v2.3+ Ruby was missing during the installation of Ruby. Here's the quick fix: brew install readline...

Read More