Controller responses often include Javascript code that contains values from Ruby variables. E.g. you want to call a Javascript function...
By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...
In your ~/.gitconfig: [core] editor=nano
CodeMirror is a JavaScript component that provides a code editor in the browser. When a mode is available for the...
An association defined with has_many :through will return the same record multiple times if multiple join models for the...
xterm by default uses black text on white background. To change that to something like "light gray on black", do...
You can change which branches will be pushed when saying git push. Our recommendation is to set it to current...
Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...
This is a way to run multiple redis server on one ubuntu server. These steps you have to do only...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...
Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
In some older Capybara versions (e.g. 0.3.9), we're getting lots of deprecations warnings: Selenium::WebDriver::Element#select is deprecated...
I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...
This is one possibility to do this. There are other and maybe even better ways to do this.
Under Settings / Appearance you can uncheck a box Animate windows. This will change your life. This setting seems to not...
If you need to debug Analytics tracking, consider using this chrome extension. It will replace the tracking code with a...
When you are calling a method that may raise an exception that you don't care about, you might think...
This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...
Undeterministically I got a nil error on saving the object caused by the random order of hash elements of the...
Let's say you need to revert a migration that happened a while back. You'd create a new migration...
Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:
When updating WebMock, be prepared that your specs may send real requests into the depths of the internet unless you...
If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...