Posted by Fred Wu
Posted by Fred Wu
Here are some of the posts you might be interested in from my Tumblr blog.
[jQuery] Endless Scroll Updated, Now Works with Any DOM Elements
jQuery Endless Scroll has now been updated to work with any DOM elements, not just $(document) …
[Rails] Releasing Action Throttler, A Rails Plugin for Throttling Actions
Sometimes we would want to throttle certain application actions. For instance, a user should only be allowed to send x amount of emails to other members of the site in order to reduce the spam risk …
Yesterday we have launched the new design of Creattica. It runs well during the testing and staging phase, unfortunately the server quickly became overloaded and unresponsive after the relaunch was made public …
[Rails] Use App_Config For Your Application Specific Configuration
A simple Google search will reveal that there are a number of different App_Config plugins for Rails. After comparing them side by side, I have decided to use the one by Christopher J. Bottaro …
[Rails Tip] Model Attributes Not Updating? `reset_column_information` To the Rescue!
So you were wondering why some of your model attributes weren’t updating properly? Well, it is perhaps because the db schema has changed but the changed schema has not been passed onto ActiveRecord, as is often the case in DB migration …
[jQuery Tip] Traverse/Parse HTML String
When you are getting an HTML string from an external source (e.g. from an AJAX get result) and you want to rip out a certain part of the HTML source, you need to make sure that the ‘certain part’ is not at the top level of the HTML source …
[Rails Tip] DataMapper M:M Association Bug and Workaround
It was confirmed that DataMapper is incorrectly setting table names in SQL JOINs …
[Rails Tip] DataMapper Timestamps Bug and Workaround
It has been confirmed by DataMapper’s core developer Martin Gamsjaeger (snusnu) that it is a bug …
If you are using rake spec to run the specs. Try using spec spec instead! It avoids doing some preliminary tasks and therefore is quicker to execute …
[Rails] Run Queued Tasks Using ‘delayed_job’, Now With Intervals!
If you don’t already know, ‘delayed_job’ is a database based asynchronously priority queue system extracted from Shopify …
Related posts
Posted by Fred Wu
Below is a list of the posts that might interest you:
[Rails Tip] Making i18n Forms, the Easy Way
Web applications normally have many forms. Building forms is always a mind-boggling task because it involves repetition and chaos. A shortcut is to use …
Advanced Search Query on GitHub
Did you know, you can perform advanced search queries on GitHub? For example …
[Rails] Use HAML templates with Devise
If you are a Rails developers, chances are you have heard of, or are using either Devise or HAML in your projects. And if you’re like me who uses both, then surely you’d wish these two worked together …
Use the ‘textmate’ Command to Quickly Install Bundle Files
Initially developed by Yehuda Katz, the Textmate gem is an extremely handy tool for installing and managing your Textmate bundle files. The tool works very well, for the most part…
Do you like coffee?It’s the consistency of the ingredients that’s the real secret to great coffee and you know what they say. There’s a great coffee scale behind every great cup of coffee.
Related posts
Posted by Fred Wu
I usually lag behind on social networking stuff. For instance I started using Twitter only a couple of months ago.
Today, I decided to set up a Tumblr blog in the hope that I would post more regularly.
There were quite a few times where I found Twitter’s 140 characters limit very limiting (duh), yet the thoughts did not necessarily warrant a full blog post here. Tumblr therefore seems to be a perfect fit. ;)
My Tumblr blog is located at fredwu.me. Please drop by. :)
Related posts
Posted by Fred Wu
I am still alive and kicking, despite not having published any posts lately. ;-)
I have started to contribute to Vanilla Forums 2.0, if you’re curious, you can check out my fork here.
Gotta love open source. :-)
Related posts
Posted by Fred Wu
I have published a review of the Apple Magic Mouse on Mac.Appstorm, please go check it out if you are interested. :)