Understanding CSS Feature QueriesCSS Feature Queries are a relatively new addition to the CSS specification, and provide a powerful tool for detecting support for various CSS features in the user's browser.
ActiveRecord methods touch and update_columns no longer work for readonly modelsReadonly models get updated when touch or update_columns is called.
Rails 7 now accepts "html" and "screenshot" kwargs for system test screenshot helperPass in parameters to take_screenshot to choose an output format between image and HTML file.
Rails adds beginless range support to clusivityRails now adds support to include the beginless range in active record inclusivity/exclusivity validators.
The Ultimate Guide to Gemfile and Gemfile.lockIn-depth overview of what a Gemfile is and how a Gemfile works.
Ruby introduces Regexp.timeoutRuby introduces the Regexp.timeout feature to prevent the unexpectedly Regexp matching and risk of DoS.
Understanding the difference between React useEffect and useLayoutEffect hooksuseEffect hook and useLayoutEffect hook differ in the timing of their invocation. useEffect hook runs asynchronously after the DOM has been painted whereas useLayoutEffect runs synchronously after all DOM mutations.
Rails 6 bulk insert recordsRails 6 adds insert_all and upsert_all methods to ActiveRecord
Rails avoids queries when performing calculations on contradictory relationRails now avoids making a query to the database if the calculation contains a contradictory relation