cvilla714 / building_with_active_record

This project is about active records, models, and associations to the tests. A user can create a post and add comments to it. For each scenario, we are asked to write down the data, associations, and validations necessary to build it.Built with

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building With Active Records

This project is about active records,models, and associations to the tests. This application similar to Reddit (called Micro-Reddit) where a user can create a post and add comments to it.For each scenario, we are asked to write down the data, associations, and validations necessary to build it. That means which models (data tables) will be necessary to store the data (and which columns you will need), which fields of those tables will be subject to validation (e.g. minimum password length or username uniqueness).

screenshot

Additional description about the project and its features.

Built With

  • Ruby
  • Rails

Install

Ruby and install Rails on your local machine

Setup

Open your terminal and go to the directory where you want to clone the repo.

Clone the repository to your local machine. Type $ git clone git@github.com:https://github.com/cvilla714/building_with_active_record.git

Go to the building_with_active_records directory. Type $ cd building_with_active_records

Install the necessary gems to run the project. Type $ bundle install

Also please run this command rails db:migrate to run all the migration for the database and have all tables updated and read to use

Now your environment is ready to run the project. Type rails c

Authors

👤 Andjela Vukadinovic

👤 Devkc

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

About

This project is about active records, models, and associations to the tests. A user can create a post and add comments to it. For each scenario, we are asked to write down the data, associations, and validations necessary to build it.Built with


Languages

Language:Ruby 77.9%Language:HTML 12.3%Language:JavaScript 8.2%Language:CSS 1.5%