Rails Chronicles

Subscribe
Archives
August 2, 2021

The Monthly Monitor: Dream big dreams. Small dreams have no magic.

Hi Friends,

Dev Joke

dev-joke.jpeg

source

Reading/watching list

  • Have you ever questioned yourself when you see errors in the browser console regarding missing keys in React. Why React Needs Keys? a short visual explanation
  • react-icons awesome lib to include icons in your React project.
  • 300+ React Interview Questions
  • Exploring Promising New Feature Proposals for the GraphQL Spec
  • Adding support for cross-cluster associations to Rails 7

Rails changelog

  • Rails 7 Make Action Text + Trix JS/CSS available via the asset pipeline
  • Rails 7 adds option to disable schema dumb per-database
  • Rails 7 deprecate ActiveStorage::Current.host in favor of ActiveStorage::Current.url_options which accepts a host, protocol and port.
  • Rails 7 adds change tracking methods for belongs_to associations
  • Rails 7 adds include_seconds option for time_field
  • Rails 7 will raise if the item is not found while deleting an item from the Middleware stack
  • Rails 7 will exclude additional flash types from ActionController::Base.action_methods
  • Rails 7 will Parallelize tests only when overhead is justified by the number of test
  • Rails 7 adds option to configure parallelization threshold at the test case level
  • Rails 7 deprecate poltergeist and webkit (capybara-webkit) driver registration for system testing. Add cuprite instead.
  • Rails 7 credentials: support hash style access in more cases
  • Rails 7 makes vips the default variant processor for new apps
  • Add available_records argument to Associations::Preloader
  • Added possibility to check on :priority in test helper methods assert_enqueued_with and assert_performed_with
  • Fix NilClass#try and NilClass#try! performance slowdown in Ruby 2.7+
  • Fix db:migrate:status: Sort migration ID as integer for consistency
  • Fix dirty check for Float::NaN and BigDecimal::NaN
  • Attachments can be deleted after their association is no longer defined

Happy coding folks. You can reach out to me on twitter for anything and I’ll be happy to chat. Don’t hesitate.

Don't miss what's next. Subscribe to Rails Chronicles:
This email brought to you by Buttondown, the easiest way to start and grow your newsletter.