Version 3.7.0 broke some things in complex forms. Sorry for that. Concurrent user input is hard. 3.7.1 This change fixes...
In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...
Added: State machine can now use the :prefix-option to avoid name collision if you define multiple state machines on...
The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...
Rails' url_for is useful for generating routes from a Hash, but can lead to an open redirect vulnerability.
It's quite confusing how many external displays are usable with a MacBook that uses an M1 or M2 Chip...
Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...
Every Rails response has a default ETag header. In theory this would enable caching for multiple requests to the same...
Usually you add errors to :base in ActiveRecord, in case no appropriate attribute could be used to add the error...
Let's say we have posts with an attribute title that is mandatory. Our example feature request is to tag...
The change_column method for rails migrations support casting with a custom SQL statement. This allows us to change a...
Rails partials have a lot of "hidden" features and this card describes some non-obvious usages of Rails Partials.
Since Rails 7 you are able to encrypt database information with Active Record. Using Active Record Encryption will store an...
Jasmine specs for the frontend often need some DOM elements to work with. Because creating them is such a common...
Variable fonts are popular for two reasons: they expand design possibilities and improve website performance. While the former statement is...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
For Rails models where only one of multiple attributes may be filled out at the same time, there is no...
The linked content includes a few design patterns implemented with Ruby on Rails. What is the card indented to achieve...
While working on a Rails application, your code base will grow a collection of different file types including: Ruby (business...
You can use the code below to check whether the browser can make connections to the current site: await isOnline...
tl;dr You can use attribute? as shorthanded version of attribute.present?, except for numeric attributes and associations. Technical Details
Attaching files to a field that is handled by Carrierwave uploaders (or maybe any other attachment solution for Rails) in...
The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...
Modern versions of Capybara include a finder method #ancestor which allows you to find a parental element using CSS or...