makandra dev
bitbucket.org

Makes a robust determination of a user's timezone through Javascript.

makandra dev
github.com

Richard Powell presents a collection of CSS styling advice that's mainly taken from SMACSS. Although at makandra we're...

github.com

Takes a screenshot when you call it, or when a test fails.

makandra dev
speakerdeck.com

The linked slidedeck holds many tips, of which I list the most interesting to me below DATA and END

shifteleven.com

The __END__ keyword tells Ruby where a file ends – but you don't have to stop there. Any text you...

blog.teamtreehouse.com

Randy Hoyt is presenting a way to display something (e.g. products) in a grid. It's responsive, too!

Geordi now supports our solution for running Selenium tests without having Firefox or Chrome windows popping up all over your...

Ruby's mathn library changes Fixnum division to work with exact Rationals, so 2 / 3 => 0 2 / 3 * 3 => 0...

markdalgleish.com

Many jQuery plugins suffer from a good plugin architecture. When you write jQuery plugins you should use the plugin pattern...

If you get this warning on your local machine one of these steps might help: Rebuilt the gem with the...

Example task: Multiply the table holidays between several stages. Open two terminals: shell-for stage_1 shell-for stage_2...

If some of your JavaScripts fail on Internet Explorer, but only in staging or production environments, chances are that JavaScript...

Give your iframe a name attribute (i.e. ) and then simply use When I press "Foo" in the iframe "myframe"

This didn't work for me. Seems display is already taken in Machinist. # in spec/support/blueprints.rb Partner.blueprint do company_name

Never ever declare your associations with a string, especially when doing metaprogramming. A common mistake is something like # WRONG

If this happens to you: user.avatar = Avatar.new user.avatar # => nil (where avatar is a belongs_to), you probably declared your association...

You're using exception_notification and want to send exception mails within a model. Here's how. The ExceptionNotifier class...

makandra dev

Browsing the git stash is a bit tricky. Here is how to see the changes without applying them:

makandra dev

This describes how to migrate an existing cucumber test suite to Spreewald. Add the gem Include spreewald into your cucumber...

Cucumber_rails' old-school web-steps have been deprecated for a while, urging developers to write high-level step definitions...

There is no reason to leave trailing whitespace characters in your project's files, so don't add any.

web.archive.org

TL;DR Avoid before(:context) (formerly before(:all)), use before(:example) (formerly before(:each)) instead. If you do use before...

makandra dev

Today I got a better understanding of how git works, in particular what git checkout and git reset do.

The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...