Skip to content
A lite clone of ActiveRecord's ORM functionality.
Ruby Erlang
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.DS_Store
README.md
cats.db
cats.sql

README.md

ActiveWreckered

This project was a coding exercise I undertook in order to gain a better grasp of what happens under the hood in an ORM generally, and in Active Record specifically.

It's an attempt to clone the primary features of ActiveRecord, including:

  • Object Persistence
  • Mass assignment
  • Association methods
  • Query methods

Technical Features

  • Heavy use of Ruby metaprogramming
  • Templatized SQL queries, with escaping to prevent injection attacks.
  • Modular implementation of key features.
You can’t perform that action at this time.