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...

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

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

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.

to_file has been removed in Paperclip 3.0.1. Instead of using File to access Paperclip storage objects (like this: File.read...

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...

Given you store files on Amazon S3 and you need to stream those files out to people while you don...

Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...

We frequently use the handy Paperclip Gem to manage file attachments. If you need to move the files from local...

css-tricks.com

Nice list of icon sets that come in the form of fonts. I recommend Font Awesome.

Assuming the following sunspot setup of the post class: class Post < ActiveRecord::Base searchable do text :title string :state

Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...

github.com

In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...

makandra dev
robots.thoughtbot.com

I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and...

makandra dev
sourceforge.net

ReText is a cross-platform WYSIWYG-ish Markdown editor. Toggle editor and preview layout with Ctrl+E.\

blog.hashrocket.com

Testing with real live production data does come with at least one catch. All those real live users in your...

Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...

assignable_values now lets you define a secondary default that is only used if the primary default value is not...