-
The main learning outcome of this project is to work with Active Record associations and create model relationships that make sense.
-
The task is to create a site similar to a private Eventbrite which allows users to create events and then mange user signups.
-
The project can be found on The Odin Project: https://www.theodinproject.com/lessons/ruby-on-rails-private-events
- when creating a
show
route akaobject#show
, this corresponds to a view for a specific instance of that object such asusers/(:id)
through
associations and relations- better understanding on routing, and the MVC process
- https://stackoverflow.com/questions/35668465/devise-unpermitted-parameters
- https://stackoverflow.com/questions/31660216/rails-devise-wont-write-first-name-and-last-name-to-my-dbs-user-table-and-keep
- https://github.com/heartcombo/devise#strong-parameters
- https://www.youtube.com/watch?v=Cj1FhPy9sz4
- https://joshfrankel.me/blog/create-a-many-to-many-activerecord-association-in-ruby-on-rails/
- https://stackoverflow.com/questions/44752772/activemodelunknownattributeerror-unknown-attribute-creator-id-for-event
- https://hackernoon.com/why-do-we-need-a-through-table-explained-with-rails-w81m3wxw