A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...

In a nutshell: Use git rebase --onto target-branch source-commit target-branch means "branch you want to be based...

Ubuntu 24 added some guarding for Python packages which no longer allows installing applications through pip on system level. Instead...

...the inert field. It might might as well be removed from the page. This behavior is OK if the fields might as well be hidden, and you're just looking...

...pre-existing mocks inside the block, they are not reverted to the previously mocked behavior. This is usually not relevant and you should be fine in most cases...

If you're using a Redis cache in Rails (e.g. :redis_cache_store), it's possible to configure additional parameters...

...described above. legacy_transforms.rb This file adds a Transform method to the Cucumber "World" which behaves similar to the Cucumber 1 and 2 transformations. This allows cucumber_factory to keep using...

You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...

greg.molnar.io

Greg Molnar has written a neat article about creating a single-file Rails app. This is not meant for production...

w3c.github.io

Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...

...provide a lot of ways to style your scrollbars for now, it might be best to only use them in Browsers that don't support the non-standard scrollbar styling...

In Ruby on Rails ActiveRecord::Relation#merge overwrites existing conditions on the same column. This may cause the relation to...

...fail with an SQL error due to duplicate index key. You can change Rails' behaviour, by saying class User < ActiveRecord::Base validates_uniqueness_of :name, case_sensitive: false end

...default: 3.0.1) It is still possible to have newer version of a gem installed beside the default version: gem install strscan Fetching strscan-3.0.3.gem Building native extensions. This could take a...

makandra dev

...sends out transactional e-mails to a large number of users, e-mail deliverability becomes an issue. E-mail providers work hard to eliminate spam and have put in place...

...No staging sandbox No permission system for api keys No authentication mechanism for webhooks besides IP ranges Buggy admin UI SendGrid Pro: Very good deliverability Not quite as expensive

makandra dev

...make block elements take up much more space than desired, even stretching their container beyond the screen edge on small screens. min-width is defined to win against competing width...

...will happen and will have effect. But what we can observe is that the behaviour of the callback function :my_method does not happen in the test, as if the...

...i.e. one transaction can see most of what another is doing), and SERIALIZABLE the best (i.e. transactions are very well isolated). Conversely, READ UNCOMMITTED gives you the best performance, while...

...will be the slowest, due to a lot of locking. This also affects locking behaviour and replication performance. The default level is REPEATABLE READ, and it's the mode you...

Due to network or hardware failures, it can happen that one of your cronjobs will not run at the time...

...Although this may be useful for debugging, when writing custom steps you may be better off using XPath...

Since Rails 7 you are able to encrypt database information with Active Record. Using Active Record Encryption will store an...

github.com

...multiple subsequent occurrences of a given character with a single one Use Tap For Better Test Data Setup let(:order) do create(:order, name: "My Order").tap do |order|

For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...

...rough setting (e.g. open Photos with Shotwell Viewer). If a certain file type (or better mime type) should be opened with a different application, this can be set via command...