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.
[Podcast] Code and the Coding Coder who Code it - Episode 7 - Chris Oliver
Chris Oliver joins the show to discuss all the adventures he’s been having. He tells us about the various projects he has going on, including: rewriting Hatchbox, hiring his first employee, and what the future of learning Rails could look like. He also is building a house which definitely takes some time to put together! There was so much to talk about this episode that it’s certainly getting the 1st place spot for longest episode! [more inside]
Rails 7.1 adds authenticate_by when using has_secure_password
Rails 7.1 has tried to address one of the seemingly unapparent security vulnerability called timing based enumeration attack by introducing a method authenticate_by when using has_secure_password.
This blog demonstrates the same.
https://blog.kiprosh.com/rails-7-1-adds-authenticated_by/
[Podcast] Code and the Coding Coders Who Code it
A New(ish) podcast. We talk about Ruby, Rails, JavaScript, and everything in between. From tiny tips to bigger challenges we take on 3 questions a show; What are you working on? What’s blocking you? What’s something cool you want to share? Check it out at https://podcast.drbragg.dev/ or wherever you listen to your favorite podcasts.
[Screencast] Roles from Scratch
In this episode, we look at different authorization approaches from the most simple to more complex scenarios. https://www.driftingruby.com/episodes/roles-from-scratch
Testing Dependencies: Fake It While You Make It
It may not be your code, but you still want to make sure you’re using it the way you expect to. Let’s explore four ways to test interactions with third-party dependencies, whether it be a HTTP API, database, gem, or other system. [more inside]
Using ActiveRecord with SQLite DB in a JRuby Desktop App
In this blog post tutorial, I cover how to configure a SQLite database and connect to it using ActiveRecord from within a Ruby desktop application, data-binding the ActiveRecord Model to the GUI View bidirectionally. [more inside]
From partials to ViewComponents: writing reusable front-end code in Rails
Recently, we added ViewComponent to our project and it was a very pleasant experience! Here is a post summarizing our decision process and first learnings after a few weeks of intensive VCs coding. [more inside]
Rubber Duck Dev Show Episode 44 | Reviewing the 2022 Rails Community Survey
Hear two rubyists discuss the 2022 Ruby on Rails Community Survey results that were just released: https://www.rubberduckdevshow.com/episodes/44-reviewing-2022-rails-community-survey/
Glimmer DSL for SWT Video Tutorial 18 - Hello, Sash Form!
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 define and use a Ruby Hash
A quick reference article about Ruby hashes https://www.bootrails.com/blog/how-to-define-and-use-a-ruby-hash/
Tailwind style CSS transitions with StimulusJS
Build polished UI components with StimulusJS and Enter/leave CSS Transitions using patterns from Vue, Alpine, and Tailwind. [more inside]
Gaspar Nagy on How to Improve Development and Business with BDD Testing
In this episode of Semaphore Uncut, we welcome Gaspar Nagy, creator of SpecFlow. [more inside]
A Story about Test Coverage Metrics
Do you have 100% test coverage and are still struggling with bugs? Check out this article on why you should look at your tests with a different perspective. [more inside]
Rails Live Reload GEM
https://github.com/railsjazz/rails_live_reload - this is one of the most interesting gems which we made. JUST check the demo. If you need a live reload for your code in views/css/js - this is a nice option. [more inside]
How to Build a Calculator With Hotwire and No Javascript
In this video, I’ll show you how you can build a calculator with Ruby on Rails’ Hotwire, without any Javascript. https://youtu.be/bh7WwHPm224
Rails and VueJS tutorial
Ruby-on-Rails minimalistic, default app starts without VueJS. Even JavaScript is optional. But only submitting forms and display inputs is no more a web standard. Dynamic, intuitive interfaces are. [more inside]
Rubber Duck Dev Show Episode 43 | Typed or Untyped Ruby
Hear two rubyists discuss the new features of ruby that allow you to set types for your variables. We discuss the pros and cons and discuss static vs. dynamic typing in general: https://www.rubberduckdevshow.com/episodes/43-typed-or-untyped-ruby/
Glimmer DSL for SWT Video Tutorial 17 - Hello, Date Time!
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]