Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
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]
5 Tips to Design Ruby on Rails Transactions the Right Way
Check out these 5 tips to ensure your transactions are readable and well-designed in your Ruby on Rails app. [more inside]
How to Use Import Maps
With the release of Rails 7, import maps are the default way of loading 3rd party Javascript libraries, which means you can remove Webpack and Node.js from your project. https://youtu.be/kjWluRJtAW0
The Testing Pyramid: How to Structure Your Test Suite
Explore different ways of organizing the test suite including testing pyramid, testing matrix and testing trophy. https://semaphoreci.com/blog/testing-pyramid?utm_medium=social&utm_source=smgroups&utm_campaign=testingpyramid&utm_content=text