Chuck Smith
eclecticcoding.bsky.social
Chuck Smith
@eclecticcoding.bsky.social
Ruby on Rails Contractor
Upgrading legacy Rails applications (Rails 4/Ruby 2.6) to the modern world
Vue, SCSS, and other Nerdy stuff
@TEKsystems
You know, I think this is one of my favorite and most helpful git commands:
git checkout -
January 29, 2025 at 5:49 PM
Planning some open source contributions to Rails projects today.
November 23, 2024 at 4:28 PM
Since I deleted my TikTok and Twitter accounts, the week has been filled with less stressful noise. It has been excellent. Happy Friday.
November 22, 2024 at 6:26 PM
This is a fascinating idea to hide the primary id's in dom_id
#rubyonrails

dev.to/railsdesigne...
Don't expose primary id's with Rails' dom_id
This article was originally published on Rails Designer If you use Hotwire with Rails, you have...
dev.to
November 21, 2024 at 11:12 AM
Reposted by Chuck Smith
Created a new Rails 8 app. Wanted #postgresql not null constraints in generated migrations, w/o editing each migration.

Turns out it's now possible. With a bang! 💥

rails generate scaffold Account name:string!

www.mintbit.com/blog/migrati...

@siaw23.bsky.social @winsletts.bsky.social
Migrations in Rails 8: Using the New Not Null Shortcut
In the latest version of Ruby on Rails (Rails 8), developers have been given a handy new shortcut for adding a NOT NULL constraint to database columns. This small but powerful enhancement simplifies t...
www.mintbit.com
November 20, 2024 at 10:45 PM
Next week I start replacing Solr search with OpenSearch for a clients Rails 6.1 application
November 20, 2024 at 11:30 PM