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

Media Ranker Project #49

Open
wants to merge 30 commits into
base: th/master
Choose a base branch
from
Open

Media Ranker Project #49

wants to merge 30 commits into from

Conversation

TammyHer
Copy link

@TammyHer TammyHer commented Dec 5, 2015

I've completed the project and everything looks great.
I'm planning to DRY using partials and rspec shared examples tomorrow, so I'll probably push again tomorrow!
Oh, and I used "hello kitty" image, since I can't see this owl staring at me. :-D

}

.page-header {
background: url(http://www.picgifs.com/glitter-gifs/h/hello-kitty/picgifs-hello-kitty-6615712.gif);

Choose a reason for hiding this comment

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

When using images it is safer to download the image and reference to it's folder location rather than rely on a 3rd party website. The image may get taken down or moved by the owner of the site or even worse could be swapped out for something unsavory.

@Brennaleker Brennaleker self-assigned this Jan 5, 2016
@@ -0,0 +1,63 @@
class AlbumsController < ApplicationController

def get_album

Choose a reason for hiding this comment

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

I love your get_album method! You could also set this as a private helper method that you call in a before acton at the top of your controller. Example: before_action :get_album, only: [:edit, :show, :update] The same can be done for your get_movie and get_book methods in their corresponding controllers.

@Brennaleker
Copy link

:octocat: Great job! You had an extensive set of tests and seem very comfortable with lets statements. Overall your code was clean and easy to read.

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.

2 participants