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.
It's Easy to Build: Custom docs project | Part 1 - MD to HTML
In this first part of the series - It’s Easy to Build: Custom docs project, we’ll learn how to convert our markdown text to an HTML code using Ruby. Link to blog post
Auto Rubocop
Automatically applies rubocop safe auto correct to modified ruby files in your project, thus increases your code Karma.
Truemail 📨 web API client library for Ruby
Truemail web API client library for Ruby has been released 🚀:
Rails adds Enumerable#pick method
Slick but useful method. It also improves ActiveRecord::Relation#pick method. https://blog.mechanicles.com/2020/03/29/rails-adds-enumerable-pick-method.html
Adjusting RuboCop's defaults (survey)
With RuboCop 1.0 right around the corner I’ve kicked off a short survey about the current defaults. Your input would be most welcome!
Automating Release cycle activities
Let us use automation tools to build a robust and automated release process activities
Collect and Store Rails Console Logs
Start controlling rails console sessions and collect their commands and logs
cURL wrapper around RubyGems.org API
I just developed a basic cURL wrapper around RubyGems.org API. Enjoy! Read more
Webpacker 5.0 released
Get to know what’s new in Webpacker 5.0 - the default JavaScript compiler for Rails apps Read more
Chaskiq with third party API integrations
Hi, I’m very happy to announce that we’ve released some API integrations on Chaskiq.io (the open source alternative to intercom). The new integrations are: Facebook Messenger, Whatsapp, Slack, Twitter, Calendly and Zoom! Check our repo at & Have a nice chat!
Why and How to Host your Rails 6 App with AWS ElasticBeanstalk and RDS
When you deploy a new Rails app, you typically face a double-bind. If you use an easy platform like Heroku, you could create problems for yourself as your application scales. If you use a more fully-featured platform, you risk wasting time on ops that could be spent on your product. What if you could have both: an easy deployment option that is easy to scale? In this article, Amos Omondi argues that AWS Elastic Beanstalk gives us both, then he shows us everything we need to know to get a Rails 6 app up and running on EB.
render_async Fires Events By Default
The new version brings a couple of good news in these rough times. Read more
Enums as constants in Ruby DSL
Check out my latest post describes how to deal with enums and safety in your pure Ruby application.
ViewComponent v2.0.0 released
ViewComponent is a view component framework for Rails built by and used at GitHub, compatible with the support for 3rd-party component frameworks coming in Rails 6.1 and backwards compatible with Rails 5+, previously known as ActionView::Component.
Sinatra bootstrap application
For quite some time now, I’ve been developing some Sinatra applications, one of the things I love about Sinatra is it’s modularity, but I also miss a lot of features which I have to add all the time. That’s why I created an opinionated bootstrap application which has configured Activesupport, Activerecord, Sidekiq and some other goodies. Read more
RuboCoping with legacy: Bring your Ruby code up to Standard
Learn how to introduce good style into mature codebases that are lacking some Rubocop love.
New release Truemail 🚀 configurable framework agnostic plain Ruby 📨 email validator
Meet new Truemail 1.6.1 release: https://github.com/rubygarage/truemail Also Truemail is available as independent application - Truemail server:
Monitoring external services with Prometheus and Grafana
Guide on how to monitor external services HTTP requests of your Ruby application with Prometheus and Grafana