Table of Contents
I was tasked with creating a new Rails app from scratch that would use a one-to-many relationship. I chose Mountain to SkiTrails. I designed the database
Concepts learned during this project:
- Design a one-to-many relationship using a schema designer
- Write migrations to create tables with columns of varying data types and foreign keys
- Use Rails to create web pages that allow users to CRUD resources
- Create instance and class methods on a Rails model that use ActiveRecord methods and helpers
- Write model and feature tests that fully cover data logic and user behavior
- ruby version 2.7.4
- Clone the repo
git clone https://github.com/marchandmd/relational_rails.git
- Install packages
bundle
You can see this locally by running rails s
from the command line.
- README
- Deploy to Heroku student account
- Add to marchandmd.github.io
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Michael Marchand - MichaelDavidMarchand@gmail.com
Project Link: https://github.com/MarchandMD/relational_rails
Some great tools and/or people who helped to make this project what it is!