If you need to test interaction with a remote API, check out the VCR gem as an alternative to Webmock...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...
You might not know that Rails disables CSRF protection in tests. This means that if you accidentally forget to send...
Copy the attached file to features/support. This gets you a convenience method: Capybara.javascript_test? Is true for Selenium, capybara-webkit...
If you want to have routes that are only available in tests (e.g. for testing obscure redirects), you can use...
When writing Rails migrations to convert a string column to an integer you'd usually say: change_column :table_name...
I recently experienced the error ActiveRecord::StatementInvalid: Mysql2::Error: closed MySQL connection. Apparently this happens when there is a timeout...
There may be reasons to change the locale of your Postgres cluster. A popular one is your development system's...
If your XFCE renders text with overly hard, thin lines instead of smooth anti-aliased lines, you might need to...
Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce...
Presentation about awesome changes we can look forward to.
So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...
The mysql2 gem in version 0.3.13 might break while compiling on older patch releases of Ruby 1.9.3 within rvm:
Using text-transform: uppercase - especially on form labels - can cause you serious headaches in Selenium tests. Sometimes the web driver...
Since we are migrating from our homegrown mixins.sass and helpers.sass to Compass, here is a list of all the mixins...
Responsive elements makes it possible for any element to adapt and respond to the area they occupy. This is different...
Awesome slide deck about taking liberties with design requirements in order to keep the CSS simple.
With Rails 4, Concerns have become the “official” solution to the big-models problem. However, there’s a fair amount...
Long list of fonts suitable for coding. With screenshots.
Angular comes with different types of services. Each one with its own use cases. All of these services are singletons...
The asset pipeline (which is actually backed by sprockets) has a nice feature where templates ending in .jst are compiled...
Do not use .rvmrc files to specify Ruby version and gemset configuration any longer, it's deprecated and not considered...
For all late night coders: The program "redshift" changes your monitors' white balance according to your position on the planet...
After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.