Skip to content

An ORM storage method that allows for easy storage and retrieval of data

Notifications You must be signed in to change notification settings

realchrislee/Ruby-Record

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Record

Object Relational Mapping Inspired by Active Record

Uses Ruby to generate SQL queries to interact with the database and create associations via metaprogramming

Features

  • Creates SQL Object classes in relation to database tables as long as naming conventions are followed.

  • Uses Ruby methods to translate user action into SQL queries that interact with the database with the specified action

  • Allows searching of objects through an extension of the SQL Object class with the #where method

  • Included methods are

    • Class::find(id)
    • Class::all()
    • #insert
    • #update
    • #save
  • Ruby Record provides single as well as multi-level associations ex. has_one_through

About

An ORM storage method that allows for easy storage and retrieval of data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages