I recently created a survey asking fellow designers about the problems they faced when creating fully responsive sites. This article...
It's mixins (modules) for Coffeescript classes. Other than most homegrown approaches, this one allows you to keep using super...
Whenever you create a table from a database migration, remember to add updated_at and created_at timestamps to that...
A snippet of the carrierwave documentation You might come to a situation where you want to retroactively change a version...
Search engines, such as Google and Bing are engineered to crawl static web pages, not javascript-heavy, client-side apps...
We proudly release our safe_cookies middleware into public beta and just published it on Github. Features are:
Motion is quickly becoming one of the most important emerging techniques in building a quality user experience on the web...
Advice for address forms that work with address structures from multiple countries.
One of many useful techniques when your test suite needs to talk to a remote API.
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
Ubuntu has a package mysql-sandbox that lets you install multiple MySQL versions into your user home: Install mysql-sandbox...
When you build a link for an email body like this body = "Please click the following link" body << "http://posts/130...
When you run into time zone issues e.g. Given the time is "2011-11-11 11:11" but
then updating Spreewald to >=0.6.6 might fix it...
You're better off using debugger-ruby_core_source: gem install debugger-ruby_core_source If you can't do...
Geordi 0.16+ supports running selenium tests with project-specific firefox versions. Just update the gem. It will still default to...
Establishing a new SSH connection usually takes only a few seconds, but if you’re connecting to a server multiple...
If you need to test interaction with a remote API, check out the VCR gem as an alternative to Webmock...
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...
Chrome extension that shows all info from your rails log (like parameters, response times, view rendering times, DB requests) inside...
If you want to have routes that are only available in tests (e.g. for testing obscure redirects), you can use...
A practical guide.
When writing Rails migrations to convert a string column to an integer you'd usually say: change_column :table_name...