Commit Redux

A software development blog in commit-sized retrospectives

Deleting Posts

Wednesday May 07 2025 • 05:20 AM

I’ve added a controls bar above the blog posts with a link to edit and a form that looks like a button to delete posts.

Those are the CRUD operations for the Post model in this little blog engine. Naturally the styling is a little wonky but I feel proud about having implemented what Rails does with a rails generate scaffold Post title:string content:text on my own from scratch.

It’s certainly helped me understand forms better. And there’s something kind of cool about having this cute little web interface for blog posts.

Screenshot of web interface