You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...

api.rubyonrails.org

ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...

This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.

As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...

There are a few ways to access view helpers from the Rails console. The easiest way is the helper shortcut...

You can use constraints in your routes.rb to avoid getting ActionView::MissingTemplate errors when wrong routes are called. Instead, the...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...

makandra dev

CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...

Rails is split into a large number of (sub-) frameworks. The most important and central of those are activesupport (extends...

When a user shares your content, a snippet with title, image, link and description appears in her timeline. By default...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...

Sometimes, due to git or other "accidents", important files get deleted or overwritten. At a state when even Ctrl+Z...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

github.com

From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...

stackoverflow.com

Set up a package root in your homedir to hold the Node "global" packages: $ NPM_PACKAGES="$HOME/.npm-packages"

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...