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.
Delete_all will surprise you
A fun experience with delete_all method from ActiveRecord and the approach to debugging SQL queries in the test environment. [more inside]
Configure Travis CI for Ruby on Rails
In this tutorial I am going to show you how to configure Travis CI to run your Rails’ test suite and system tests everytime you push a new change to your repository.
Inkblot: Ruby interactions with e-paper displays
A Gem for running waveshare displays with the Raspberry pi in ruby, and some extras to help you get started with it. Read about it on my website or check out the code on github
Introducing EventStoreClient - a ruby implementation for Greg's Event Store
Check out how we’ve implemented Ruby client for Greg’s event store! [more inside]
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