When you are working with jQuery selectors and collections, many times you want to know if the collection actually contains...
to create a Gallery that has a name and has_many :images, which in turn have a...
UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows
In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...
jQuery's find looks in the element's descendants. It will never return the current element itself, even if the...
Sometimes you want to preload images that you will be using later. E.g. if hovering over a an area changes...
TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...
Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...
When you find yourself in the situation that you would like to define a custom matcher in your specs, but...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
To delay your entire Jasmine test suite until the DOM is ready, add the following: beforeAll(function(done) { $(done); });
Since jQuery 3 saw it's first release candidate today, the links has a list of (breaking) changes.
When you have a localized website, you may want to redirect users to their preferred language when they visit the...
fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js...
When you run rake db:rollback and nothing happens, you are probably missing the latest migration file (or have not...
Helix allows you to implement performance-critical code of your Ruby app in Rust, without requiring glue code to bridge...
When dealing with time zones in Rails, there is one key fact to keep in mind: Rails has configurable time...
Expecting a primitive value as an argument to a method invocation is easy: expect(object).to receive(:foo).with('arg1...
When building a form with a file select field, you may want to offer your users a live preview before...
This gem gives you a rake task db:seed:dump do create a db/seeds.rb from your current database state.
You will need to look here and find your own device. Look for the "bootable CD" download, which will give...
When your application crawls twitter profiles for tweets, it might throw HTTP 401 (Unauthorized) errors. Those can happen for a...
Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line