You most likely have a form element inside another form element. Don't do that. Ever. Firefox and Chrome will...

blog.plataformatec.com.br

It is common in Rails 3.0 applications that you want to provide default views for a group of controllers. Let...

Sometimes you can make your life easier by not allowing a record attribute to be changed after the record was...

api.jquery.com

jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...

If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...

en.wikipedia.org

Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...

Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.

widgetsandshit.com

Some people, when confronted with a problem, think "I know, I'll use a queue." Now they have an unbounded...

getfirebug.com

You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.

When you need to see the content of a page (i.e. not all the HTML but the relevant text body...

Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...

github.com

Ruby's net/http is setup to never verify SSL certificates by default. Most ruby libraries do the same. That means...

When doing a presentation you may want to hide your desktop icons. You can switch them off (or back on...

37signals.com

Lately, we’ve been exploring ways to offer web apps that perform like native apps on mobile devices. For this...

If you want to see how long your database queries actually take, you need to disable MySQL's query cache...

These steps are now part of Spreewald. This note describes a Cucumber step that lets you write this:

When you need to add a event listener to hundreds of elements, this might slow down the browser. An alternative...

When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...

businesswire.com

DENVER--(BUSINESS WIRE)--MPEG LA announced today that its AVC Patent Portfolio License will continue not to charge royalties for...

weblog.muledesign.com

You’re a business, calling a business, about conducting business. Don’t be surprised when money comes up.

makandra dev

This may be awkward to set up, but will work once you're done. Fun facts:

makandra dev

To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...

install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions

github.com

Consent is an access control abstraction layer for ActionController. It lets you restrict access to actions across your application using...