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.
local_dump - Rake tasks for Dump and Restore PostgreSQL database in Rails
based on pg_dump/pg_restore https://github.com/kirillshevch/local_dump
Open source powerful Time Tracking App built with Rails
I just released a powerful time tracking application built with NuxtJS and Rails. It’s free and open source. [more inside]
Loading Additional Ruby Gems in Development
Have you ever found yourself temporarily adding a gem to your project’s Gemfile to leverage it during development? Maybe your project even has gems that some team members find indispensable during development, but mean nothing to others. Luckily, to have your favorite gems available without permanently or temporarily adding them to the project’s Gemfile. Read how.
RuboCop in legacy projects: focus on the present
The second part of a series on introducing RuboCop to legacy codebases. https://medium.com/@scottm/rubocop-in-legacy-projects-part-2-focus-on-the-present-8d3df0626a29 – using tools such as pronto or overcommit to focus on the lines we’re changing.
Ruby(Opal) + Express.js + Socket.io. Real time chat Server implementation
A simple way to harness nodejs http libraries(express.js + socket.io) using Opal and ruby. Metaprogramming FTW https://github.com/sebyx07/opal-express-socketio
New debugging tool: tapping_device
I just created a new debugging tool called tapping_device. It can help you tracking ruby object’s method calls, which is very useful when debugging (especially on Rails apps)! [more inside]
Rails 6.0 new framework defaults: what they do and how to safely uncomment them
This is a walkthrough of the nine default flags in new_framework_defaults_6_0.rb generated by rails app:update. At the end of this article you’ll feel confident in deleting that file and adding load_defaults 6.0 to your application.rb. [more inside]
Modulation 1.0
Modulation, an explicit dependency management tool for Ruby, has just reached version 1.0. Modulation is already used in production, and personally I find it a great help in managing the code bases of my different Ruby projects. [more inside]
'Repost' gem updates for Rails 6
Gem repost implements Redirect using POST method. [more inside]
Fun with each_with_object and other Enumerator adventures
Cool new (but one that always existed) way of utilizing each_with_object—and some funny consequences of this discovery.
How to use GitHub Actions for Continuous Integration (CI) with Rails
GitHub Actions makes it easy to have your code and continuous integration together inside GitHub. Learn How to use GitHub Actions for Continuous Integration with Rails
search_cop v1.1.0 released - Search engine like queries for ActiveRecord
New features include default_operator (AND/OR) and postgis support. SearchCop adds fulltext query capabilities to your ActiveRecord models. https://github.com/mrkamel/search_cop
Vienna.rb • Wien.rb - Meetups & Learn Togethers Upcoming in Austria
Hello, If anyone happens to be in Central Europe in Austria you’re invited to join us to meetup with fellow rubyists in a Vienna coffee house every first Tuesday of the month. Upcoming dates include: [more inside]
ActiveWorkflow 0.9.5 released - intelligent process automation platform
We just released ActiveWorkflow 0.9.5, our agent-based workflow and intelligent process automation platform. This release exposes a REST API, letting you interface with the platform programmatically from your own Ruby projects!
New validations look
Versioned and dynamic validations with https://github.com/kvokka/activevalidation [more inside]
Trailblazer tutorial: move business logic from controller - part 2.
This is the next chapter of our trailblazer tutorial. In this part we focus on moving business logic from the fat controller method to our operation, testing it, and handling fail-trail. [more inside]
HOWTO scrape websites with Ruby & Ferrum
This tutorial will show you how to scrape websites with Ruby and Ferrum, a Ruby gem for connecting to Chromium and Google Chrome browsers using the Chrome DevTools Protocol: https://readysteadycode.com/howto-scrape-websites-with-ruby-and-ferrum