#445 — April 11, 2019 |
Ruby Weekly |
Let's Build a Chat App from Scratch using Rails and WebSockets — Our Step-by-Step Tutorial of the Week™! A thorough look at using ActionCable to create a nice looking real-time chat app. Lazarus Lazaridis |
React-Rails 2.5: Easily Integrate React.js into Rails Apps — Are you a React developer who likes a bit of Rails on the backend? React-Rails is for you and makes it easy to integrate React with the Rails asset pipeline, views, and controllers. Docs here. React Community |
eBook: How to Get a 3x Performance Improvement on Your Postgres Database — The pganalyze team shares their best practices, learned over the last few years by helping companies like Atlassian optimize their Postgres databases. pganalyze sponsor |
Rails 6 Requires Ruby 2.5 or Newer — Also, Rails 6 will not support PostgreSQL versions older than 9.3 (11.x is the latest version but 9.x versions are still very common in production). Vishal Telangre |
'Beginless' Ranges Experimentally Added to Ruby 2.7 — e.g. Ruby Core |
The 3rd Edition of 'The Well-Grounded Rubyist' Is Out — The Well Grounded Rubyist is a very popular Ruby book and it’s great to see a new edition out (available on Amazon.com). There’s also a book signing and talk in New York City next Wednesday if you can make it. David A. Black and Joseph Leo III |
Google App Engine Now Supports Ruby 2.5 (in Alpha) — It’s buried way down in a post about something else entirely, but Google’s serverless app platform now has (very) initial support for Ruby 2.5. Google Cloud Blog |
💻 Jobs |
Sr. Software Engineer - Rails — You get it done with Rails, have strong programming fundamentals, are adaptable, and ready to jump in anywhere. Leafly is looking for you. Leafly |
New Career for Ruby Engineers. All Levels (Edinburgh, Remote) — Popular, award-winning Ruby/Rails SaaS product. Flexible, inclusive, happy team. Great work/life balance and benefits. Join us. FreeAgent |
Find A Ruby Job Through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. Vettery |
📘 Articles & Tutorials |
▶ Faking Method Inputs with OpenStruct — A useful, quick tip that can be used to refactor a method without having to build all its dependencies. Avdi Grimm and Kerri Miller |
Object Marshalling in Ruby — A detailed look at how Ruby serializes/deserializes data, the methods involved, and how to customize the marshalling process. Mehdi Farsi |
Creating a Basic, Native Ruby Extension in C — It’s not entirely straightforward but this tutorial breaks down the key steps. Vinicius Stock |
A Rails Model Test 'Hello World' — A tutorial showing off the basic process for getting RSpec set up and using it to do a simple model test. Jason Swett |
Replace Aaron Sumner |
🔧 Code & Tools |
JRuby 9.2.7.0 Released — The JVM-oriented Ruby implementation gets a variety of bugfixes and stays in sync with CRuby 2.5.x standards. JRuby Core Team |
Automated Dependency Updates for On-Premises GitHub and GitLab — Run Depfu Enterprise behind your firewall and keep your app dependencies up-to-date effortlessly. Depfu sponsor |
InSpec: An Auditing and Testing Framework for Infrastructure — Write tests to check firewall rules, installed packages, etc, and run locally or remotely. Targets most production OS including Windows. InSpec |
Arbre: A Way to Build HTML Views in Ruby Code — Billing itself as an ‘object-oriented DOM tree in Ruby’, Arbre is extracted from the popular Active Admin Rails administration framework system. Active Admin |
lol_dba: Scan Your Application for Columns That Should Be Indexed — It can also generate the SQL/migrations to create the indexes. Diego Plentz |
critical-path-css-rails: Only Load CSS Required for the Initial Viewport in Rails Mudbug Media |
device_invitable: An Invitation (by Email) Strategy for Devise Sergio Cambra |
Get the Fastest Website Deployments. Ever. Buddy sponsor |
Asciidoctor: A Fast AsciiDoc Text Processor and Publishing Toolchain — Convert AsciiDoc content to HTML, PDF and other formats. The recent 2.0 release is a big step forward. Asciidoctor |
imap-backup: A Tool to Backup Gmail (or Other IMAP) Accounts to Disk — Written in Ruby, of course. Joe Yates |