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.
Buff exception backtrace with local variables, arguments and instance variables!
You can use power_trace with Rails, RSpec or minitest. Then it’ll add all the information you want to the exceptions’ backtrace!
Top 5 Reasons why Ruby on Rails Development is Perfect for Building MVP!
Ruby on rails development is ideally suited to build MVP prototypes and applications. Here are 5 reasons why Ruby on Rails developers so strongly endorse this open source framework. https://www.botreetechnologies.com/blog/5-reasons-why-ruby-on-rails-development-is-perfect-for-building-mvp
Comparable module in Ruby
Ruby’s Comparable module is used when implementing class objects needs to be ordered or compared. [more inside]
Linting Ruby
How to lint Ruby with the standard library: https://kevindeisz.com/2020/08/28/linting-ruby.html. Also included: a small introduction to Ruby 2.7 pattern matching and a brief foray into metaprogramming.
Can API Governance Help with Third-party APIs?
APIs are everywhere within your organization. Keeping track of them all, and ensuring that your team chooses the best APIs for their needs can be a challenge. The solution to this “web of APIs” is to apply the concept of API governance to your API dependencies. Read on
Issue 516 of Ruby Weekly
A rather special issue this week, as it marks ten years since the very first issue was sent (back in August 2010)!
Glimmer Process (Beyond Agile)
Glimmer Process is the lightweight software development process used for building Glimmer libraries and Glimmer apps, which goes beyond Agile, rendering all Agile processes obsolete. Glimmer Process is simply made up of a number of guidelines to pick and choose as necessary until software development needs are satisfied. https://andymaleh.blogspot.com/2020/08/glimmer-process-beyond-agile.html
An interview with Rubyist Sandi Metz
Glenn Goodrich talks to Sandi Metz, author of ‘Practical Object-Oriented Design in Ruby’ and ‘99 Bottles of OOP’.
How to Build Blog with Ruby on Rails
Guide you step by step learning Ruby on Rails through building a Blog application. https://fullstackrubyonrails.com/blog/build-blog-with-ruby-on-rails
Understanding Selection Sort with Ruby
If I asked you to sit down right now and sort a list of numbers, there’s a good chance that you’d intuitively rediscover the selection sort algorithm. It’s a simple approach that can have significant performance implications. That’s why it shows up so frequently in technical interviews - even though most developers never implement sorting from scratch. In this article, Julie Kent walks us through the selection sort algorithm, builds a working implementation in Ruby, and discusses its performance characteristics. https://www.honeybadger.io/blog/ruby-selection-sort/
Upgrading GitHub to Ruby 2.7
Eileen has been busy upgrading GitHub to Ruby 2.7. She wrote a great post about the process of testing and deploying it to production. Read the blog post
Keeping Rails logs clean and helpful
As Rails applications grow, log files do too. Removing unneeded information from development.log and production.log is important, as it help us focus only what we need to know from the app. Find out how at https://www.youtube.com/watch?v=cPvz2HAdt8k [more inside]
New Gem simple_assets Released!
I have just released a new gem called simple_assets. It is a Dead simple HTML-based assets helper for Ruby. The main idea here is to promote re-usability for projects. I would appreciate any feedback on this design. https://github.com/westonganger/simple_assets
Ruby on Rails development: Looping in IVR with Twilio
Use Twilio with IVR in Ruby on Rails development to achieve looping. Here’s the complete process in Ruby on Rails web application development. https://www.botreetechnologies.com/blog/how-to-achieve-looping-in-ivr-with-twilio-using-ruby
Introduction about Ruby on Rails
Overview of Ruby on Rails and the advantages of web development with Ruby on Rails https://fullstackrubyonrails.com/blog/introduction-about-ruby-on-rails
sports gem - sport data structures for matches, leagues, seasons, rounds & more
Hello, I’ve extracted another little gem called sports that lets you use “plain old ruby” sport data structures for matches, scores, leagues, seasons, rounds, groups, teams, clubs and more. The readme sample shows how to build the standings table for the English Premier League (EPL) for the 2019/20 season from all matches in the comma-separated values (.csv) format. Enjoy the beautiful game (or other sports) with ruby. Cheers. Prost.
Exploring Ruby’s Enumerable Module
Exploring ruby’s Enumerable module https://www.sandipmane.dev/exploring-rubys-enumerable-module
Mortal and immortal symbols in Ruby
Symbols are now garbage collected.. or not! https://medium.com/rubycademy/mortal-and-immortal-symbols-in-ruby-35ae4d29248a