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.
mega scaffold gem :)
https://github.com/railsjazz/mega_scaffold - for those who are tired of creating CRUDs and who don’t want to add “cms” or “admin” gems. [more inside]
rubygems CVE-2022-29176 explained
I wrote a little explanation and example of exploitation for the recent rubygems vulnerability. [more inside]
Rubber Duck Dev Show Episode 41 | The JIRA Incident
Hear two rubyists discuss the JIRA / Confluence downtime incident: https://www.rubberduckdevshow.com/episodes/41-the-jira-incident/
Quick Guide: Debug a Ruby Gem with Pry and git-bisect
Are you trying to debug a Ruby gem but not sure how? Here’s a quick way to debug any Ruby Project using Pry and Git Bisect. [more inside]
Glimmer DSL for SWT Video Tutorial 14 - Hello, Pop Up Context Menu!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
How to get a random number in Ruby
A short tutorial about random number in Ruby : https://www.bootrails.com/blog/how-to-get-a-random-number-in-ruby/
generate sparklines in your app
https://github.com/railsjazz/peity_vanilla_rails - generate sparklines (bar, line, donut, ..) with just a one line of code
Bootstrapping with Ruby on Rails Generators and Templates
Let’s explore the basics of Rails generators and templates, then examine how to customize your Rails app with templates. https://blog.appsignal.com/2022/05/04/bootstrapping-with-ruby-on-rails-generators-and-templates.html
Chunky Bacon
An anthropologist turned programmer reflects on the legacy of one of the most famous Ruby hackers: _why the lucky stiff. http://code-anth.xyz/posts/3
[Screencast] Active Record Tricks
In this episode, we look at tips and tricks from read only attributes, inserting and upserting (update or insert) records, toggling booleans, and single table inheritance. https://www.driftingruby.com/episodes/active-record-tricks
Kill Rails server : a how-to guide
What if your Rails server is buggy, and restart is not possible ? [more inside]
Glimmer DSL for SWT 4.23.1.0 Video Tutorials in Meta-Sample
Glimmer DSL for SWT 4.23.1.0 ships with a number of changes, including being able to launch Video Tutorials from the Glimmer Meta-Sample directly to follow and learn step by step. [more inside]
Improve your specs quality with branch coverage
It’s a common practice to measure the quality of tests using line coverage. Unfortunately, in some cases, it’s not enough. https://kukicola.io/posts/improve-your-specs-quality-with-branch-coverage/
Rubber Duck Dev Show Episode 40 | To DRY or Not To DRY
Hear two rubyists discuss whether to keep your code DRY, WET or let it ROT: https://www.rubberduckdevshow.com/episodes/40-to-dry-or-not-to-dry/
rails_charts
https://github.com/railsjazz/rails_charts is another way to generate charts in your Rails app. Simple and powerful. Lots of customization and pre-build helpers to generate 15+ charts.
Glimmer DSL for SWT Video Tutorial 13 - Hello, Table!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutorial 13 is out! It walks software engineers through Hello, Table! [more inside]
Bootstrap 5 in Rails 7
In article this article I’ll show you how to use Bootstrap 5 in Rails 7 [more inside]
Parameterized Rails associations
Build “smart” associations that need a parameter such as current user or other similar global objects [more inside]
Ruby block, procs and lambda
A classic but very useful feature of Ruby core : block, procs and lambda https://www.bootrails.com/blog/ruby-block-procs-and-lambda/
ActionController::Redirecting::UnsafeRedirectError
in Rails 7 if you get ActionController::Redirecting::UnsafeRedirectError
[more inside]
4 Ways to Create Dependent Drop-Downs With Ruby on Rails 7
In this video, we’re going to look at four ways to build dependent drop-downs, the kind where you need to fill in one before the second one gets populated, and so on. [more inside]