Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
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
How to use ActiveRecord in a library
Ever wanted to use ActiveRecord in a pure Ruby library/gem, not in a Rails app or Rails Engine? In this blog post I walk through how to accomplish this and some of the gotchas which I encountered along the way. Covers how to connect to the database, define models, “connect” the models to the database, and how to run a directory of migrations, all without Rails. Example source code is also available on GitHub.
Search rubygems.org via Raycast
Wanna search rubygems.org without opening a browser? I wrote a Raycast extension to search rubygems.org from within Raycast https://www.raycast.com/aleks/search-rubygems
Redis & Ruby
Been using Ruby and Redis for a long time, Redis best practices have been changing.
How to use CSS Variables with Rails
CSS custom properties (or CSS variables as they’re commonly called) are a great way to let users customize the look and feel of your Rails app. Check out the screencast to Learn How to use CSS variables with Rails
Glimmer DSL for LibUI Code Area (Ruby Tooling Future)
Brandon Weaver has recently contacted me to ask questions about Glimmer DSL for LibUI and said he was excited about the possibility of implementing Ruby syntax highlighting using Glimmer DSL for LibUI by leveraging the rouge gem. Glimmer DSL for LibUI 0.5.8 ships with a rudimentary code_area syntax highlighting custom control (aka widget). [more inside]
How to find your Ruby Software Career Path with Mina Slater
We interviewed Mina Slater (@minaslater) about her progression from Ruby Apprenticeship to Senior Developer. With more than a decade of experience with theater management before becoming a Software Developer, Mina has been progressing in her career as she wanted. She even created her own role. In the week this episode was released, she was promoted to Senior Developer! [more inside]
Rubber Duck Dev Show Episode 35 | Organizing Your Tests
Hear two rubyists discuss some best practices for organizing your automated tests: https://www.rubberduckdevshow.com/episodes/35-organizing-your-tests/
A Deep Dive into Unit Testing
Testing is a significant part of software development, and unit tests are fundamental. [more inside]
gem-compare goes 1.0
I wrote about finally hitting 1.0 for gem-compare, a RubyGems plugin to compare gem versions.
Glimmer DSL for SWT Video Tutorial 8 - Login (Computed Data-Binding)
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 (JRuby Desktop Development GUI Framework) Video Tutorial 8 is out! It walks software engineers through Login and explains Computed Data-Binding! [more inside]
The Return of Screamshot
I’ve resurrected Screamshot, a synchronous HTTP screenshot service I first released in 2016(!), and added a few new features - my favourite is support for prefers-reduced-motion=reduce
. Read about the updates here.