Ever wanted to preview a pattern from Subtle Patterns on your site without the hassle of swapping out images and...
gleeBox is an experimental project that takes a keyboard-centric approach to navigating the web. It provides alternatives to actions...
Icon fonts like Font Awesome are infinitely scalable, look great on high-DPI displays and will give your app a...
Having your site run on SSL is worthless when you include content over an unsafe connection (HTTP).
Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...
If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...
Our most recent pattern is EMAIL = /\A[a-z0-9\+\-_\.]+@[a-z\d\-.]+\.[a-z]+\z/i Notes
url = 'http://www.foocorp.com/foo/bar' URI.parse(url).host # => www.foocorp.com Note that this will raise an error if the given argument is...
In theory you can take any scope and extend it with additional joins or conditions. We call this chaining scopes...
ActiveModel::Errors is used to handle validation errors on Rails objects. If you inspect an instance, it feels like a...
Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...
If you require your Rails models manually, pay attention to the path you use. Unless you have...
When is this useful? When both parent and child elements have borders, with this technique you don't get two...
If your application has forms to edit string fields, you probably want to strip the entered values (remove whitespace from...
“Fat models” cause maintenance issues in large apps. Only incrementally better than cluttering controllers with domain logic, they usually represent...
Richard Powell presents a collection of CSS styling advice that's mainly taken from SMACSS. Although at makandra we're...
Turbolinks makes following links in your web application faster. Instead of letting the browser recompile the JavaScript and CSS between...
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...
This didn't work for me. Seems display is already taken in Machinist. # in spec/support/blueprints.rb Partner.blueprint do company_name
Browsing the git stash is a bit tricky. Here is how to see the changes without applying them:
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.