JT Book a call

Blog / Tags

ruby

104 posts tagged ruby, newest first.

railsrubywebdev

Custom templates for Rails scaffolding

Rails has a very handy tool for rapid development called scaffolding. Often programmers ignore it, because some things have to be written by hand anyway.

rubyprogrammingdevops

Auto-install system dependencies for Ruby on Rails

Add Homebrew Bundle and a Brewfile to bin/setup so one command installs Redis, PostgreSQL, Overmind, image tools and Yarn for a new Rails developer.

railsrefactoringcallback

How to avoid callbacks using services.

Often, programmers abuse callbacks, not fully understanding that their code will ultimately be confusing and non-obvious.

devopsgithubruby

Incremental lint fixes by GitHub Actions

How do you apply new lint rules to the legacy project with active development?

rubyrailswebdev

Data Migrations in Rails: Problems and Possible Solutions

Data migration is a common part of working with databases, and Ruby on Rails developers have many tools at their disposal.

rubywebdevrails

How to use Ruby on Rails Concerns

A Rails concern is a module that extends the ActiveSupport::Concern module.

rubyprogrammingtutorial

How To Setup Default Values For Attributes In Ruby On Rails

Since attributes are uninitialized when a new model is created without any parameters, default values will be set according to the attribute type.

railsrubydatabase

Rails ActiveRecord Joins vs Includes: The Difference

The main difference is that when using includes the eager loading is used.

rubyprogrammingbeginners

Metaprogramming Pitfalls in Ruby on Rails Applications

Metaprogramming in Rails is quick to add and hard to support. The problems it brings: bugs that are hard to trace, hidden coupling, hard-to-change logic.

railsrubywebdev

Preview UI changes with Ruby on Rails variants

Here's one of the simplest ways to do it without introducing complex feature switching mechanisms.

Tell us what you need built

JetThoughts has been building software since 2008. Book a call, or write to sales@jetthoughts.com. You'll leave the call with a written one-page scope within 2 working days.

#01 Paul Keen
Paul KeenFounder & Open Source Contributor

A 30-minute call; pick a time.