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...
If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...
When your model is using a callback like before_save or before_validation to calculate an aggregated value from its...
will_paginate triggers a database query to determine the total number of entries (i.e. to let you display the number...
Delegating methods to other objects is often helpful but the syntax of both def_delegators and def_delegator is a...
You probably know about the possibility to tag scenarios in Cucumber to run your own piece of code before the...
In MySQL comparing zero to a string 0 = "any string" is always true! So when you want to compare a...
When your gems complain about invalid gemspecs and illformed requirements, it is most probably an error resulting from the transition...
You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.
Don't you just hate to write Cucumber path helpers to be able to say this?
Copy the attached file to config/initializers/indent_string.rb and you can say "foo".indent(4) # " foo" Note you will find many simpler...