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

PR Submission #14

Open
wants to merge 51 commits into
base: jlnmmr/master
Choose a base branch
from
Open

PR Submission #14

wants to merge 51 commits into from

Conversation

noglows
Copy link

@noglows noglows commented Nov 20, 2015

Requirements complete. There are still some CSS issues and areas to DRY. There are also areas we know could be improved (ex: moving code from views to the controller and simplifying controller code).


def edit
id = params[:id]
@market = Market.find(id)

Choose a reason for hiding this comment

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

I think it would be great to see the id and the @market variable assignment moved into a before_action for these specific methods.

@kariabancroft
Copy link

Nice job on this @noglows & @knaydee! Be cautious and avoid putting styles directly into the views and to only use instance variables when necessary. I think you can clean up the controllers a bit, but overall you did a nice job of using strong params and the active record objects.

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.

3 participants