Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...
Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...
Projects with more than one developer should always consider to enforce code review even for small changes to improves the...
This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.
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...
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...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
When deploying with capistrano it's possible you get this "error" message: *** [err :: example.com] There are no Phusion Passenger-served...
If you get requests with values for formats like this: {:locale=>[:de], :formats=>["../../../../../../../../../../etc/services{{"], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby...
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...
Over the years we have tried several solution to have vector icons in our applications. There are many ways to...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...