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.
Day 17 - any_login @ Ruby Advent Calendar 2020 - 25 Days of Ruby Gems
Hello, let’s thank Igor Kasyanchuk for the seventeenth write-up in the Ruby Advent Calendar 2020: Day 17 - any_login Gem - Speed Up Testing Allowing One-Click Turbologins® Without Passwords as Any User in the System. Switching User (Accounts) Made Easy (and Faster). Cheers. Prost.
cryptoquotes gem v1.0 - incl. oracle tool to get a random crypto quote of the day
Hello, Number go up. Fear of missing out (FOMO) on the latest all time-high (ATH) Bitcon bull run hitting $20 000? I have put together a little gem - that is, cryptoquotes - that gets you a random crypto quote of the day on the command line - on the new new “in math we trust” ponzi economics, on get-rich-quick blockchain secrets, on bitcon maximalists, scammers, morons, clowns, shills & bagHODLers and more. Cheers. Prost.
Load Test Your Rails Apps with Apache JMeter
Every Rails app has a breaking point; a level of activity that it simply cannot handle. Your braking point depends on big architectural decisions, yes — and also on the tiniest changes committed by your most junior developer. That’s why it’s vital to regularly test your application’s performance under load. In this article, Milap Neupane gives us a Rails-centric introduction to load testing with a powerful open-source tool called JMeter. https://www.honeybadger.io/blog/rails-load-testing-jmeter/
Rails insert_all and upsert_all
TIL something new about Rails. You can now use insert_all and upsert_all for efficient writes. But that’s not all. Read on for what “just worked” and what didn’t.
30 Ruby on Rails Experts, Bloggers and Influencers to Follow
Who are the best Ruby on Rails experts on the Web? Where to find them? We scanned through their blogs and social media profiles and created a list of the best Ruby on Rails experts. [more inside]
Ruby on Rails vs Node.js – The Right Approach To Web Development
In late 2004 popular American psychologist, Barry Schwarts came up with a bit counter-intuitive idea, that sometimes having a choice brings much more anxiety and suffering than being left without one. Although his book “The paradox of choice” was mainly about the consumer market, the statement remains true even in the B2B market. The proof is seen when it comes to choosing between Ruby on Rails and Node.js. [more inside]
Ruby on Rails vs C# - Which Technology Should You Choose?
Both Ruby on Rails and C# are technologies that you can call mature. They have been around for over 10 years, which in a fast-paced industry such as IT is quite an era. Nonetheless, they are still popular and used in many projects, from simple web apps to complex projects. Although there are some similarities between them, they still remain different and can serve different purposes. The text covers the comparison on speed of coding, performance, stability, talent pool, and more. [more inside]
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. https://www.botreetechnologies.com/blog/notable-activerecord-changes-in-rails-6-part-1/
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
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 https://medium.com/rubycademy/the-evolution-of-ruby-strings-from-1-8-to-2-5-8b2ed8f39fad
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: https://prettier.io/blog/2020/12/11/plugin-ruby-1.0.html
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. https://onrails.blog/2020/12/10/protecting-activestorage-uploads/