Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ratracegrad/rails-demo-one-to-many-db

Demonstration of the one-to-main database relationship using ruby on rails.
https://github.com/ratracegrad/rails-demo-one-to-many-db

Last synced: about 2 months ago
JSON representation

Demonstration of the one-to-main database relationship using ruby on rails.

Awesome Lists containing this project

README

        

# Demonstration of the one-to-many relationship in databases in Ruby on Rails

> When using databases there are three ways that different tables can be connected they are:

1. One to one
2. One to many
3. Many to many

## Installation

```
git clone github.com/ratracegrad/rails-demo-one-to-many-db
cd to directory
npm install
```

## Requirements

- ruby
- rails
- PostgresSql database