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.
Monolithic Ideas For AWS Lambda File Systems
Today I am excited to share the release of AWS Lambda File Systems. A simple, scalable, fully managed network file system leveraging Amazon’s Elastic File System (EFS) technology. And what better way to celebrate the accomplishments of our hard-working AWS friends than by building clever uses of their tools in ways they may not have intended… or outright feared 😱
SEO-Friendly URLs with Rails
I had a chance to work on a project that used friendly_id. The gem was mostly great, but there were a few situations when it didn’t work as expected and I spent hours fixing it. I’m not a fan of reinventing the wheel either, but for my latest project I tried to implement SEO-friendly URLs just with what Rails has to offer. It turned out really easy and with many advantages over the gem. [more inside]
Handle bad JSON requests to your Rails API
One of the main problem I faced while building JSON APIs using Ruby on Rails was around making sure that the API consistently returns JSON responses for all scenarios including when the request payload is not valid JSON. [more inside]
Rewriting a small rails & react application
In this post I will set up a rails application from scratch, with my personal flavor of gems and modifications. Then I’ll go through the process of adding the registration flow including configuring Amazon SES. https://hugopeixoto.net/articles/rewriting-a-small-rails-and-react-application.html
Live multiuser Video Chat for Rails in under 20 minutes
Using Vonage, we can build video chat into Rails that’s live, supports multiple users, recording, and can be easily modified to broadcasts (like webinars or Twitch). Check out the Live multiuser video chat in Rails screencast
football.csv - sportdb-importers Gem Update - Read League & Match Datasets
Hello, I’ve updated the sportdb-importers Gem that lets you read (import) league & match datasets in comma-separated values (CSV) format into any SQL database. What’s news? A new CSV flavor / schema lets you read in any or many leagues or seasons per datafile, for example, week by week or year by year. Enjoy the beautiful game with ruby. Happy data wrangling. Cheers. Prost.
Ruby on Rails - Discovering Amazon CloudFront
CloudFront provides better interface instead of just showing the XML error, this could be helpful to non-techie users using ruby on rails. https://www.botreetechnologies.com/blog/ruby-on-rails-discovering-amazon-cloudfront
datoji - remote JSON storage server
A FREE RESTful HTTP based JSON API. It lets you create, read, update, delete and search JSON data over HTTP APIs. Ideal for small hobbies projects, MVP or just for fun, where you don’t need to create your personal data storage. [more inside]
How to Send SMS through MSG91 in Ruby on Rails?
Learn more about how to send SMS through msg91 in ruby on rails. Contact us to build web and mobile app to add value to the business. [more inside]
OTP 2FA in Ruby on Rails with ROTP
Implementing two factor auth with one time passwords is a great way to add additional security for your users. [more inside]
Git Lint 1.0.0 - A CLI for Git commit quality
Git Lint is the official port of the original Git Cop project that avoids references to violence or violent terminology that might make anyone feel unwelcome. The name change was necessary in order to better support the Black Lives Matter and Defund Police movements. For those using Git Cop, please update accordingly. Thanks!
Spark Joy by Running Fewer Tests
Are you frustrated because your tests take a long time to complete? Do you want to save time on getting your feature out? This is a blog post about a solution we made: https://engineering.shopify.com/blogs/engineering/spark-joy-by-running-fewer-tests
Improve your Ruby code reviews with actionable code coverage and Undercover
Learn how to set up the undercover gem to warn on methods, classes and blocks missing test coverage. Use it locally or as part of a CI build to shorten your code coverage feedback loop. [more inside]
Look up faker methods at the comfort of your terminal
Do you find yourself digging through Faker’s ReadMe (which is brilliant btw) when you’re unsure of a method’s namespace or just not sure what’s available? [more inside]
Running a Patched Ruby on Heroku
You use a PaaS because you want all the underlying infrastructure and configuration of your application to be hidden from you. However, there are times when you are forced to look deeper into the stack. In this article I want to share how simple it is to run a patched version of Ruby on Heroku. https://www.mauromorales.com/running-a-patched-ruby-on-heroku.html
Implementing CQRS API endpoints in Rails apps with dry-rb
CQRS is a great pattern to write SOLID code, which allows you to scale up systems without increasing complexity and coupling in the project. [more inside]
How to Create Events in Google Calendar from Ruby On Rails Application?
Wondering how to create events in Google Calendar from a Ruby on Rails application? Here’s a simple guide comprising of the steps to do the same [more inside]