With this command you can run all the spec files which have been edited or added in the current branch...
Added: State machine can now use the :prefix-option to avoid name collision if you define multiple state machines on...
...of time, but it will always be retried at least a second time. This behavior allows with_scope to be patient, and it must be patient, as explained below.
If you want to move a complete commit from one repository to another (and you don't want to add...
...applications with forms (warp_params will do that for you). But maybe its a better idea to stick to a standard that client libraries know to handle. Tests
...really nice and we implemented it in a similar way like here. In the beginning we tried to remove any duplicated in the schema files. So when a booking had...
This decision tree describes how to use the alt attribute of the element in various situations. For some types of...
When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...
...Use the attached Modularity below to add such a magical array to your model. Besides using the trait, you will need to implement two methods to synchronize the string array...
In case you want to use pry with an older version of Ruby, you can try the following configurations.
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
=> >> response.code => 422 FYI, the http gem is a great alternative to RestClient which behaves like that by default and has a well-designed API in general (much better than...
...to work as expected Good Then the crontab -l output will look like this: # Begin Whenever generated tasks for: some-app_staging 34 23 * * * /bin/bash -l -c 'cd /var/www/some-app_staging/releases/20201215171150 && RAILS...
...value, that can not be replaced by Whenever (the release folder changes every deploy): # Begin Whenever generated tasks for: /var/www/some-app_staging/releases/20201215171150 34 23 * * * /bin/bash -l -c 'cd /var/www/some-app_staging/releases/20201215171150 && RAILS_ENV=staging...
...its version number, it is considered a pre-release: 1.0.0.rc1 2.3.0.alpha2 3.0.0.beta3 4.0.0.pre.rc2 Even if a pre-release gem has the highest version number, it is...
...Semantic versioning Converted RubyGems version 1.0.0-rc1 1.0.0.pre.rc1 2.3.0-alpha2 2.3.0.pre.alpha2 3.0.0-beta3 3.0.0.pre.beta3 Note that npm packages force you to use Semantic Versioning's naming convention...
...also packaged as a snap. A snap will always track a channel (like stable, beta) and automatically update to the newest version available in this channel. By default the snap...
channels: stable: 2018.3.2 (72) 269MB classic candidate: 2018.3.2 (72) 269MB classic beta: 2018.3.2 (72) 269MB classic edge: 2018.3.2 (72) 269MB classic 2018.3/stable: 2018.3.2 (72) 269MB classic 2018.3/candidate...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
...its mount path. It starts with /media/. Open a terminal and sudo su to become root. We require root for everything. Use dd to create an image of your encrypted...
tl;dr: Avoid to memoize methods with default (keyword) arguments! When you are using Memoized with default arguments or default...
If you want to see how long your database queries actually take, you need to disable MySQL's query cache...
...which point the exception was thrown. def self.search_solr_with_exception_handling(*types, &block) begin search_solr_without_exception_handling(*types, &block) rescue Errno::ECONNREFUSED, Timeout::Error => e message = "Verbindung...
Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...
Browsers blocks abusable JavaScript API calls until the user has interacted with the document. Examples would be opening new tab...
Usually you add errors to :base in ActiveRecord, in case no appropriate attribute could be used to add the error...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...