Skip to content
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

Baseline - PR with trello board and ERD picture #2

Open
wants to merge 61 commits into
base: master
Choose a base branch
from

Conversation

nahmisa
Copy link

@nahmisa nahmisa commented Apr 26, 2016

nlcurry and others added 30 commits April 26, 2016 14:23
…arket name, address, and a list of all vendors, which links to the individual vendor pages
…sh. It works now... can create new market action
…of having a visible field for market id input
@nlcurry
Copy link

nlcurry commented Apr 29, 2016

Paired with Sarah N for this project.
Used bootstrap gem for css.
link to heroku: https://sarah-nadine-farmarrails.herokuapp.com

def vendor_edit_params
params.permit(vendor: [:name, :no_employees])
end
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can make one private params method and use it for all your controller actions! No need to separate between create and edit.

@trowbrsa
Copy link

trowbrsa commented May 3, 2016

Great work! Very thoughtful clean code overall.

<% end %>
</ul>
<% end %>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good error message to complement your model validations!

@kdefliese
Copy link

Great job, your code looks really good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants