In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...
So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...
Amazing guide how to divide a ball of Javascript spaghetti distinct separate layers (model, view, controller, backend adapter).
While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...
Code snippet tested with Rails 2.3 def index # ... if request.xhr? html = render_to_string(:partial => "list", :layout => false) respond_to...
When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...
SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...
If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...
When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...
Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...
A little-known feature of modern Regexp engines that help when optimizing a pattern that will be matched against long...
SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...
MuPDF is a PDF reader that renders very quickly, yet still correctly. It supports PDF 1.7 and all the fancy...
When your Rails controller action responds with only a simple text, render text: 'Hello' may not be what you want...
Since version 34, Chromium/Chrome ignores the autocomplete="off" attribute on forms or input fields. Recent versions of other browser do...
The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...
When using @media CSS queries, Internet Explorer 8 and below will fail to respect them. Though there are several options...
Edge Rider gives your relations a method #origin_class that returns the class the relation is based on.
Spring is a Rails application preloader. When debugging e.g. the rails gem, you'll be wondering why your raise, puts...
MenuetOS is an Operating System in development for the PC written entirely in 32/64 bit assembly language. Menuet64 is released...
Programatically invoke Rails generators Require the generator, instantiate it and invoke it (because generators are Thor::Groups, you need...
docopt helps you define interface for your command-line app, and automatically generate parser for it. docopt is based on...
If you regularly get ActionView::MissingTemplate exceptions, maybe some bot visits your site requesting silly formats like: http://www.rails-app.com/makandra.html-username-2000...
If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...