ActiveRecord

Community

Master Rails database interactions.

AuthorMadBomber
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies complex database operations within Rails applications, making it easier to manage data integrity and performance.

Core Features & Use Cases

  • Migrations: Write and manage database schema changes safely.
  • Associations: Define relationships like belongs_to, has_many, and has_many :through.
  • Query Optimization: Prevent N+1 queries using includes, preload, and eager_load.
  • Use Case: You need to add a new column to your users table, ensure it's always present, and create a unique index on it for faster lookups.

Quick Start

Use the ActiveRecord skill to add a status column of type string to the orders table with a default value of 'pending'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ActiveRecord
Download link: https://github.com/MadBomber/experiments/archive/main.zip#activerecord

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.