Basically, you now need to know if your project uses a "real" time zone or :local, and if config.active_record.time_zone...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

For university I have to stay up-to-date with lecture documents. Since my university doesn't offer RSS feeds...

If you turn on stylesheet caching, it might happen that stylesheets from different locations with different relative pathes will be...

When you have objects in your database that hold latitude and longitude and you want to find others that are...

In order to prevent the browser from asking whether to remember the password, give a form an autocomplete attribute with...

makandra dev
blog.jquery.com

Two new methods on and off are the new way of declaring event handlers. bind, delegate and live area deprecated...

Web fonts are awesome. After being restricted to Arial for two decades there is finally a cross-browser way to...

Clearfix is a hack to clear floating elements without additional HTML markup. If you only need to support IE8 and...

When adding a new field to your model's database table, don't set any defaults in the database.

The technique described in this card has an important caveat: The result of GROUP_CONCAT is truncated to the maximum...

Selenium does not speak SSL because it uses WEBrick that doesn't. When you use Selenium for Cucumber scenarios that...

While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...

Rails doesn't know which host it is running on. For generating links, it strips the hostname off the request...

To offer files for download, use send_file. def download(file) send_file file.path, :disposition => 'attachment' end

If you're writing a spec for an application using Resque, you may need to work off queues manually without...

VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:

makandra dev

Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...

If you need to parse a large XML file (> 20 MB or so), you should parse it in chunks, otherwise...

blog.anandvishwanath.in

After managing a few agile projects from India and learning the tricks of the trade, I have been wondering why...

makandra dev
martinfowler.com

A common question in IT departments is whether to provide a capability by building custom software or by buying a...

github.com

When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...

My front audio output would not work even though the front mic input did fine. The Pulse Audio mixer (= Ubuntu...

Put the attached file into config/initializers/ to be able to say created_within on any ActiveRecord or its scope chain...