If you're getting this strange error message when setting debugging breakpoints, probably HAML is the culprit. Cause
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features
Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...
When a gem author releases a new version to Rubygems, usually a tag with the version number (e.g. v1.2.0) is...
If you paste multiple lines of text into a cell, Calc's AutoCorrect will change the first character of the...
Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...
Some insight into how browser rendering engines work. The article shows how the way you manipulate styles (and the DOM...
ImageMagick takes a string with several options when cropping an image. See the command line options for how to provide...
Addressing is a fertile ground for incorrect assumptions, because everyone's used to dealing with addresses and 99% of the...
In the tradition of our PostgreSQL cheat sheet for MySQL lamers, here is a cheat sheet for Jasmine when you...
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
The condition for an if statement has to resolve to a boolean true/false value. However, all facts are strings, and...
JavaScript objects can have getter and setter functions that are called when a property is read from or written to...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
The API is a little confusing because animate returns a reference to the element to enable chaining.
jQuery comes with .animate() that lets you transition some CSS selectors: function floatIn($element) { $element.css({ 'opacity': 0, 'margin-top': 200px...
You can do so much more than console.log(...)! See the attached link for a great breakdown of what the developer...
Rails guide that covers PostgreSQL-specific column types and usages for Active Record. You should especially keep in mind the...
When you have an ngRepeat directive that uses track by, be sure to move the track by instructions to the...
Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.
Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration...
RSpec::Matchers.define :be_naturally_sorted do match do |array| array == array.natural_sort end end See RSpec: Where to put custom...
This step will pass if the specified select is sorted. Then /^the "(.*?)" select should be sorted$/ do |label, negate|