Skip to content

dblack/ar_playground

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Active Record Playground

I've added some stuff to Erik Kastner's ActiveRecord Playground, so you can now call {add,change,remove,rename}_column on any AR subclass, during your interactive session.

Here's Erik's README:

Active Record is a fantastic ORM(Object Relational Mapping) library in ruby that is the basis of Ruby on Rails' database layer.

ar_playground is a simple script for exploring the ins-and-outs of Active Record in a clean, non-destructive way.

It creates and in-memory sqlite3 database, creates the tables and models you define, then drops you into an interactive ruby shell (IRB) to interact with your domain model. When you exit irb, the database is gone!

About

Active Record playground for exploring and playing, by kastner, with stuff added by me.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%