The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Notable ActiveRecord changes in Rails 6 – Part 1
There are many ActiveRecord changes in Rails 6. We will look into some of them which are as below. Negative scopes for all enum values and Configurable implicit order column.
Day 16 - bridgetown @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Pascal Wengerter for the sixteenth write-up in the Ruby Advent Calendar 2020: Day 16 - bridgetown Gem - Build Websites (and Apps) the Classic (Static) Compiler Way - Use the Latest JavaScript (Yes, Webpack Out-of-the-Box) or CSS Packages - Fast and Secure By Default. Cheers. Prost
How to Make Rails Work Offline (PWA)
A quick run through of the tools available within the Rails ecosystem to create easy to maintain Service Workers. This allows your Rails App to enter a “Read-Only” state when the client is unable to access the server (e.g. their underground on a train). [more inside]
The #1 Reason Ruby Should Be Your First Programming Language
If you’re new to programming, and you’re wondering which programming language should be your first programming language, you’re probably overwhelmed by all the options available. Read more
Day 15 - avo @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Adrian Marin for the fifteenth write-up in the Ruby Advent Calendar 2020: Day 15 - avo Gem - Day 15 - avo Gem - (Auto-)Build Beautiful Admin Dashboards and Panels for Your Active Record (Database) Models (Incl. File Attachments) with Configuration in Code . Cheers. Prost.
Your Guide To Content Management Systems For Ruby on Rails
Review of my fav Content Management Systems that you can quickly add to your Rails-based product. [more inside]
Materialized Views In Ruby On Rails With Scenic
If you need to write a lot of joins to get information from your database you may consider creating a materialized view. You can think of database views as a kind of API or public methods. You get a consistent way of accessing your records. The view remains the same while the source tables may change. [more inside]
Day 14 - que-scheduler @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Harry Lascelles for the fourteenth write-up in the Ruby Advent Calendar 2020: Day 14 - que-scheduler Gem - Light-Weight (Time-Driven) Cron (Background) Job Scheduler for Que - a Job Queue Using the PostgreSQL Database with Advisory Locks for Speed and Reliability. Cheers. Prost.
Super v0.0.6
Release of the next version of Super, a Rails admin framework. https://zachahn.com/posts/1607871999/ [more inside]
Day 13 - lumione @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Dmitry Maksyoma for the thirteenth write-up in the Ruby Advent Calendar 2020: Day 13 - lumione Gem - Money. Money. Money. Convert NZD ($) to USD ($) or EUR (€) to JPY (¥) in Your Terminal using the European Central Bank (ECB) Reference Exchange Rates. No API Key Required. Yes, Works Offline. Cheers. Prost.
The Evolution of Ruby Strings from 1.8 to 2.7
An overview of the String class since Ruby 1.8
Day 12 - matestack-ui-core @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Pascal Wengerter for the twelfth write-up in the Ruby Advent Calendar 2020: Day 12 - matestack-ui-core Gem - Write Web Components in an (HTML) Domain-Specific (Mini) Language (DSL) Getting (Automagically) Turned Into Modern (Reactive) Web Views on Top of Vue.js . Cheers. Prost.
Prettier for Ruby goes v1.0
The Prettier plugin for the Ruby language has just released v1.0. Learn more in the official blog post:
Improve Code Quality with RuboCop
Cleaner pull requests, automated knowledge sharing, and easy engagement with open-source software? Sign me up! [more inside]
Day 11 - boring_generators @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Abhay Nikam for the eleventh write-up in the Ruby Advent Calendar 2020 - Day 11 - boring_generators Gem - 10x Development - Speed-Up Your Coding By Automating and Generating Boring Setups. Cheers. Prost.
Protecting ActiveStorage Uploads
ActiveStorage is a great addition to Rails. However, if need to protect uploads through a means more secure than the security by obscurity provided by the redirect service, you need to write your own controller.
3 Steps to Eradicate Flaky CI Builds
Follow the real-world experiences of some development teams as they overcome flaky builds and transform their productivity. [more inside]
Glimmer Button Counter Sample (SWT Desktop & Opal Web)
Glimmer DSL for SWT 4.17.10.5 and Glimmer DSL for Opal 0.7.4 have been released with support for a new sample: Hello, Button! That is the simplest most intuitive button counter code you will find anywhere on earth! Happy Glimmering!
Climbing Steep hills, or adopting Ruby 3 types with RBS
Yes, types are coming to our favorite dynamic language! Let’s see how to take advantage of them by adding types to a real-world open source project and looking at the finer points of the process.
Bonus! - Day 10 - parslet @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Rachel Green for the tenth (+1 bonus) write-up in the Ruby Advent Calendar 2020 - Day 10 - parslet Gem - Build Your Own Language Parsers (and Lexers) with Parsing Expression Grammars (PEGs). Cheers. Prost.
Day 10 - happy_gemfile @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Mike Rogers for the tenth write-up in the Ruby Advent Calendar 2020 - Day 10 - happy_gemfile Gem - Stop House Keeping Your Gemfile. (Auto-)Format Your Gems Sorted from A to Z and by Groups. (Auto-)Clean up the Clutter. Happy Gemfile Day! Cheers. Prost.