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.
Monocle: a bidirectional code generation library
I just published a bidirectional code generation library. Afaik it’s the first of its kind, and it opens up a lot of possibilities for cool new types of dev tools. https://blog.luitjes.it/posts/monocle-bidirectional-code-generation/
Synvert Playground
synvert-ruby is a tool to write snippet code to rewrite your project code. [more inside]
216+ Ruby on Rails Open Source Applications You Can Use as a Reference
No idea how to implement a new feature? A proper model, controller, migration? Or how to write a test? What if you had a massive library of Ruby on Rails Applications to use as a reference? Here’s how to browse 216+ Rails Applications you can learn from! 💣 [more inside]
A Generic `Image` Wrapper for Active Storage in Rails 7
How to configure a generic Image
wrapper for Active Storage attachments while preserving Rails 7’s pre-defined variants in a has_one
setup! https://jonsully.net/blog/a-generic-image-wrapper-for-active-storage/
see familiar details from rails logs in the rails console
https://github.com/igorkasyanchuk/execution_time - automatically benchmark execution time of your code in rails console (see the demo). Now with fixed Ruby 3 support.
Rubber Duck Dev Show Episode 37 | Working With Outside Teams
Hear two rubyists discuss how best to work with outside project teams: https://www.rubberduckdevshow.com/episodes/37-working-with-outside-teams/
10 Books Every Senior Engineer Should Read
This list contains a mixture of classic, timeless texts and a fair share of modern game-changing publications, aimed at senior engineers and devs. [more inside]
Lisa Crispin: Holistic Approach to Testing
🎧 A great interview with Lisa Crispin about adopting a holistic approach to testing and helping organizations adopt continuous integration. [more inside]
Glimmer DSL for SWT Video Tutorial 10 - Hello, Styled Text!
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 10 is out! It walks software engineers through Hello, Styled Text! [more inside]
Generating the Gemfile.next.lock
We recommend using the Dual Boot technique for upgrades. This requires us to generate a Gemfile.next.lock file that will be used to boot the app with the next version or Rails. In this article we’ll share 2 techniques to generate this file: the faster one and the safer one. [more inside]
Ruby on Rails Flash Messages With Hotwire
In this video, we’re going to take a look at Rails’ flash messages, how they work, and what changed since Hotwire became available. https://youtu.be/G1I7FLFuLlk
Why Ruby has Symbols?
In my recent blog post I describe the difference between strings and symbols in Ruby. It starts with the usage difference and then digs into how interpreter makes related optimizations.
Handling SIGHUP error from Heroku
A video on handling SIGHUP error from Heroku. We also get to see how to use notify_at_exit feature of Honeybadger. Please note that this was an internal video which we are publishing as is. https://www.bigbinary.com/blog/fix-sighup-error-from-heroku
DatoCMS with RubyOnRails
I published a new gem to integrate DatoCMS in Ruby On Rails and here is the tutorial https://dev.to/coorasse/datocms-with-ruby-on-rails-3ae5
Label Maker with Ruby
Learn how to turn your tweets into physical printouts on a label maker via the Cups/PPD API. It’s a silly concept, but can have some great real world application with interfacing with printers. https://www.driftingruby.com/episodes/label-maker-with-ruby
Glimmer DSL for Tk Hello, Progressbar & Theme!
Glimmer DSL for Tk v0.0.56 and v0.0.57 bring a couple of new samples (Hello, Progressbar! sample and Hello, Theme! sample) in addition to upgrading to the latest version of the glimmer gem. [more inside]
Rubber Duck Dev Show Episode 36 | Redundant Infrastructure on the Cheap
Hear two rubyists discuss how to set up a redundant infrastructure for you application on the cheap: https://www.rubberduckdevshow.com/episodes/36-redundant-infrastructure-on-the-cheap/
Rails Credentials can be Confusing
Environment-specific but master override? Oh man. https://jonsully.net/blog/rails-credentials-can-be-confusing/
Behavior-driven Development
BDD is a logical step forward in the evolution of the practice of software development. This article explains the concept and its origins. https://semaphoreci.com/community/tutorials/behavior-driven-development?utm_medium=social&utm_source=smgroups&utm_campaign=bdd&utm_content=text
Glimmer DSL for SWT Video Tutorial 9 - Hello, Canvas Shape Listeners!
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 9 is out! It walks software engineers through Hello, Canvas Shape Listeners! and explains the basics of the Canvas Shape DSL. [more inside]
How to test solidity smart contracts with ruby with RSpec and Etherium.rb
A small guide on how you could test your smart contracts in RSpec instead of using truffle [more inside]