Rails Chronicles

Subscribe
Archives
December 30, 2020

The Monthly Monitor: Sometimes life hits you in the head with a brick. Don't lose faith. - Steve Jobs

Hey friends!

We made it! 2020 is over! This is last issue of the year I hope everyone stays happy and healthy. Let’s go!

Dev Joke

My blogs

  • Automate your workflow using GitHub Actions with Rails
  • boring_generators Gem - 10x Development - Speed-Up Your Coding By Automating and Generating Boring Setups

Reading/watching list

  • Some good news in 2020. Ruby 3 is released - The list of Ruby 3 features
  • Rails 6.1 Release
  • Introducing Hotwire. An alternative approach to building modern web applications without using much JavaScript.
  • GraphQL is gaining a lot of attention and one of the main challenge for any legacy project is adoption of GraphQL. Read some how to migrate from REST to GraphQL.
  • All ruby books @PlanetRuby
  • GraphQL improving latency with @defer and @stream directives. Improvements come with the cost of multiple round-trips and increased load on server. Feature is in Stage 2 proposal.

Rails changelog

  • Rails 6.1 adds ActiveRecord::FinderMethods#sole and #find_sole_by
  • Rails 6.1 supports blob column type in the database migration
  • Rails 6.1 changes the default queue name for all internal Active Job to default
  • Rails 6.1 adds option for default_scope to run on all queries
  • Rails 6.1 adds config.action_view.preload_links_header option
  • Rails 6.1 allows Rails.benchmark to be called from anywhere to measure and log spped of code
  • Rails 6.1 adds ActiveSupport::Cache::RedisCacheStore#info
  • Rails 6.1 now by default generates non-remote forms for form_with FormBuilder

My Open-source libraries/contributions

  • Rails open-source contribution

    • Adds the missing spec for Action Text installer warning for incomplete webpacker configuration
    • Fixes the route table CSS for dark mode
    • Fixes the copy-paste typo in configuration guide for default job queue changes
    • Fixes typos in Autoloading (Zeitwerk Mode) Guide
  • Boring Generator contributions

    • Adds the devise install generator
    • Adds simple_form install generator
    • Add GraphQL generator
    • Fixes failing specs and accommodate Tailwind 2.0 changes

Happy coding folks. You can reach out to me 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.