Your query failed 'MySQL server has gone' away

Posted by Peter
on May 31, 08
My blog was getting an error every once in a while, probably if no connection was made in 8 hours.

This happens because neither AR and Datamapper close their connections letting the database to take care of it, so I tried to change MySQL setting to:

wait_timeout = 259200

but this won't help me much so I will try some hacking tonite and update this post again.

Feather Error: undefined method `empty?' for nilNilClass

Posted by Peter
on May 22, 08
You are setting up your Feather, excited to write your first post but you see is an error like this:

undefined method `empty?' for nil:NilClass

This is an issue in Merb 0.9.3 with page caching and there is a patch you can run to fix it for now until the next Merb release.
View patch.
Happy blogging.

Merbing on Feather

Posted by Peter
on May 21, 08
This blog is running on this simple yet powerful Merb blogging engine with plugins available to enhance your online diary, journal, personal thoughts or learning experiences.