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.
Video: Creating Hanami application from Application Template
A quick setup instructions video for using Hanami Application Template! [more inside]
Should I Get an Internship or Keep Practicing my Coding Skills?
In the tech job hunt? Lacking experience is tough. Will landing an internship help or is it better to keep practicing for The Job? [more inside]
Alba now supports types
Version 1.2 of Alba, the fastest JSON serializer for Ruby, has been released with support for Types. Yes, types. Now you can validate input with types and even convert it to those types.
React on Rails: Building a Simple App
To decide on a front-end for your Rails app, you need a feel for the options. Does a certain JS framework speak to you or does it make you feel dirty inside? There’s only one way to find out! In this article, Julio Sampaio walks us through creating an React app from scratch and integrating it with a Rails back-end via webpacker. https://www.honeybadger.io/blog/react-rails/
Useful Active Support features you may not have heard of
Active Support is a really powerful library that is a part of Rails framework. Today we will focus on utilities it includes, which can be useful in your next Rails project or any other ruby app. Read more
TinyHooks reached 1.0.0 with performance and features
The first major version of TinyHooks has been released! It’s 1.6 times as fast as ActiveSupport::Callbacks so is a great option if you’re building hooks in your own projects.
Migrating Octopress Blog to Jekyll and Serving It with Github Pages
A simple and short blog post about how to migrate an octopress blog to jekyll. Have fun! https://www.eyupatis.com/migrating-octopress-blog-to-jekyll-and-serving-it-with-github-pages/
Run all mutations in DB transactions
An easy solution to wrap all GraphQL mutations into DB in your app that uses graphql-ruby: https://railsguides.net/all-mutations-in-db-transaction-ruby-graphql/
Rails 7 transforms a Ruby hash into HTML attributes for ERB interpolation
Rails 7 added an alternate way to embed HTML attributes into ERB view [more inside]
Hanami v2.0.0.alpha2
After two years of work, presenting a revolutionary new vision for Hanami 2.0 that integrates with dry-rb & ROM. https://hanamirb.org/blog/2021/05/04/announcing-hanami-200alpha2/
Hanami App Template - Easy way to check out Hanami before release!
Hanami 2.0 is behind the corner, but in the meantime, developers were kind enough to prepare an application template, which allows us to easily test out new cool features! Here is a quick guide on how to use it! [more inside]