Ever wondered how Rails talks to itself in a Cucumber feature? In Rails 3 you can do it like this...
Do you have page caching enabled for the development environment and there are cached pages lying around in public/?
Great blog with daily news and HOWTOs for Ubuntu, Linux and Gnome.
jQuery as new default Javascript library, streaming response support, attr_accessible with roles, prepared statements, easier migrations.
If you have a time given in a different time zone than your local one, parsing will convert it for...
Let's say you have an Explorer window showing a directory and want a cmd terminal to be opened there...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
When writing a piece of reusable code, you sometimes need to have separate code for Rails 2 and Rails 3...
If you have any class which requires access to some path methods generated by your routes. Even though you could...
DeaDBeeF is one of the better music players for Linux. You can find installation instructions here.
While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...
You've been there: A form cannot be submitted, but you don't see a validation error because the field...
Rails doesn't know which host it is running on. For generating links, it strips the hostname off the request...
Calling Time#utc, Time#gmt or Time#localtime will not create a converted copy. Instead these methods modify the receiving...
Note that converting from RGB to CMYK will usually degrade your colors because no exact mapping is possible. Anyway, this...
Use the PDF toolkit: sudo apt-get install pdftk To rotate page 1 by 90 degrees clockwise: pdftk in.pdf cat...
Linux provides a fix number of filesystem watches. If you have some greedy daemon (like dropbox) running, chances are it...
After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
Note that if you plan to downgrade Firefox because your Selenium tests broke after a Firefox upgrade, there is a...
Note that if you plan to freeze your Firefox versions because your Selenium tests break whenever Firefox updates, there is...
Sometimes the Rails helper #distance_of_time_in_words is using too much magic. When you need a time difference...
When browsing a repository, pressing "t" allows you to quickly search for file names. Very awesome! Go here to try...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...