Skip to content

A project to dive into ActiveRecord’s associations in Ruby on Rails.

License

Notifications You must be signed in to change notification settings

anapdh/private-events

Repository files navigation

Associations

In this project we implemented ActiveRecord’s associations, one of the best features Rails offers.

Users are allowed to create events and then manage other users signups. Users can create events and send invitations to parties. Events take place at a specific date and location. An user can create events and attend many events, and an event can be attended by many users, which requires a many-to-many model relationships.

Full project description: The Odin Project

Pre-requisites

  • Ruby
  • Rails 6.1.1
  • SQLite3
  • Yarn
  • Devise
  • Puma
  • RSpec
  • Capybara

Built With

  • Ruby
  • Rails 6.1.1
  • SQLite3
  • Yarn
  • Devise
  • Puma
  • Git & Github

Install

Install all the Pre-requisites 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 https://github.com/anapdh/private-events.

Go to the members-only directory. Type $ cd private-events

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

Also, please run these commands rails db:create and rails db:migrate to run all the migration for the database and have all tables updated and ready to be used.

Now your environment is ready to run the project. Type rails s, open your browser and paste localhost:3000.

Authors

👩🏼‍💻 Ana Paula Hübner

👤 João Paulo Dias

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

📝 License

This project is MIT licensed.

About

A project to dive into ActiveRecord’s associations in Ruby on Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages