Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...

In Rails 2, you could use link_to_remote...

...:update => 'id' to automatically replace the content of $('#id').

makandra dev
failtale.be

Free Hoptoad/Airbrake alternative which can capture exceptions from any platform. It comes with a Rails notifier and a RESTful API...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

makandra dev

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

stackoverflow.com

When you double-tap a string of text on an iPhone or iPad a complicated context menu for copying and...

Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.

You can say: $(element).is(':visible') and $(element).is(':hidden') jQuery considers an element to be visible if it...

makandra dev

If you are exchanging files with a client via Dropbox you do not need to access the Web page every...

To obtain a list of Passenger processes with their application directories and memory usages, you can say sudo passenger-memory...

My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...

github.com

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

shopify.com

Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...

Because your examples should not change global state, you should not need to care about the order in which RSpec...

geordi, our collection of awesome shell scripts, has been extended by three scripts to help you call RSpec or Cucumber...

In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR...

If you manipulate the DOM with JavaScript and your page contains nested elements with position: relative, chances are Internet Explorer...

Capybara allows you to select DOM elements, e.g. by using field, find_field(...) or field_labeled(...): role_select = field_labeled...

Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...

makandra dev

If you want to play music or sounds from a browser, your choice is to use either Flash or the...

thrivingkings.com

An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...

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

There is no way to do it. This behavior is by design. You lose.

makandra dev

Within an event handler, there are multiple methods to cancel event propagation, each with different semantics. event.preventDefault() Only prevents the...