Skip to content

Basic book manager app supporting CRUD operations written in Ruby using active records outside Rails.

Notifications You must be signed in to change notification settings

fatosmorina/basic_book_manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple example of how to use active_record outside of Rails.

Overview

The following snippet provides a minimal example of how to use active record outside of Rails. This example includes a trivial pair of models that can be used for exploration purposes.

Dependencies

  • ActiveRecord gem
  • require_all gem
  • sqlite gem

Install

  1. Run bundle
  2. Run rake db:migrate
  3. Run rake db:seed
  4. Run ruby init.rb

Original Source

This example is based off of a repository developed by James Blackwell https://github.com/jdblack/active_record_example

About

Basic book manager app supporting CRUD operations written in Ruby using active records outside Rails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages