If you need to do calculations inside the database and can not use Ruby objects you may run into problems...
When a has_many association basically serves to store a list of associated strings (tags, categories, ...), it can be convenient...
This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...
When rendering a partial with the :collection option, you are automatically provided with a counter variable inside the partial template...
Because Nokogiri needs to be compiled and dynamically linked against both libxml2 and libxslt, it has gained a reputation for...
When you just went through a long debug-fest and infested your code with dozens of debug messages, it can...
Have you guys ever done the math on that? You asked or allowed for 24000 interruptions from literally every human...
Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...
Occasionally some complex query must be processed on the database because building thousands of Ruby objects is impracticable.
E.g. when you're using a tagging gem, you have seen virtual attributes that get and set a string array...
In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...
Selenium has been the siren song that continually calls out to us. Unfortunately, in practice we’ve been unable to...
To change a commit message of the most recent (unpushed) commit, you can simply use git commit --amend -m 'new...
Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...
This step tests whether a given select option comes preselected in the HTML. There is another step to test that...
This collection of Sass mixins enables cross-browser styling (including IE with CSS3PIE) with less lines of code.
You should never transmit sensitive data without encryption. Being logged in somewhere constitutes transmitting sensitive data. For Pivotal Tracker:
Added utility methods for the Prototype Javascript framework.
This is non-trivial because you need to fake event objects and require different code for different browsers. Luckily, there...
When using an odd value for line-height in CSS the result will vary across all major browsers.\
When you use will_paginage to paginate a scope, and you want to obtain the total number of records matched...
If your pidgin IM fails to connect to ICQ, you may need to update it. The ubuntu default sources are...
This document describes an agreement between web servers and search engine crawlers that allows for dynamically created content to be...
There is a problem with AJAX response handling for Rails 3 remote links and forms in Internet Explorer. This problem...