-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Val & Suze's baseline + seeding of database #10
base: master
Are you sure you want to change the base?
Conversation
…en we migrate it will generate those columns
…roller and added views for index and show.
…ck Add A Product to go to a view for new products. will have form soon.
…s to create, edit vendor info in Vendor controller. Still need to add delete.
https://valsuzefarmar.herokuapp.com/ great project - Val and I worked well together--learned a lot from each other. Also learned to open new terminal windows, rails server... spent a lot of time trying to understand results on sales index but then realized the products and sales don't all match in db. have a good weekend! Thanks! Suze |
def create | ||
@market = Market.new(market_create_params[:market]) | ||
if(@market.save) | ||
redirect_to market_path(@market.id)#redirect in case user tries to post another form - brings them to entered view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great error handling here! Love the inline comments
Great project! Your site is beautiful & functional & rad. Relationships are also super important to learn, and from this it is clear you got 'em down. |
Good job committing frequently - it's definitely good practice to commit when you reach a good milestone, which you did a great job doing! Especially liked the meaningful commit messages. |
Annalee, thanks so much for taking the time to review our project! Your input is so important to us! 💙 Sent from my iPhone
|
https://trello.com/b/O70Umvs6/farmarrails
Here's the trello board, and then the ERD is inside app/assets/images.
Thanks!