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.
How to use React components in Rails 6
Just published a new piece on building hybrid Reat/Rails apps. Hope you like it [more inside]
Huge Theme and Workflow Advances in Bridgetown 0.15 āOverlookā
Whew, a lot has happened since the last release of Bridgetown. The community has been growing on Twitter and in Discord, weāve gotten new sponsors on GitHub, and a ton of work to move the ecosystem forward has been going on behind the scenes. Itās time to unveil some of those initiatives today with the release of Bridgetown 0.15 āOverlookā!
Web Scraping with Ruby
A pretty thorough overview on how to do web scraping with Ruby. The post covers working with HTTParty, Nokogiri and the Kimurai web scraping framework.
Top Web Development Frameworks in 2020
The top web app development frameworks enable building robust web applications. Here are the top web app development frameworks for succeeding with your web applications in 2020.
Embracing Perspectives with the Rails Router
A simple Rails routing convention that could have a huge impact on how you organize and discover code in your applications. [more inside]
Understanding Basic Ruby Data Types
Venturing into Ruby? Start with Ruby data types. Get simple information about the different data types in Ruby from this article. Once done, youāll know how helpful Ruby on Rails data types are. [more inside]
Rails 6 multiple databases support in Rails Event Store
Rails 6 released in August 2019 has brought us several new features. One of the notable changes is support for multiple databases. All details have been described in Rails guides and Iāve read already several blog posts describing how to do it. But how to use this feature to allow Rails Event Store data to be stored in a separate database? Check my blog post where I document my experiments with it.
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.
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.