Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby

Ruby on Rails - Albums - generated 3 albums

When I got to the albums section on the last ruby badge, and got the albums view up and running with the kitty cats, there were 3 albums that were created...

any idea why?

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Is it possible that the button was pressed 3 times? If not, can you paste a link to your code up on GitHub?

Thanks for the reply Jason

Here is my repo https://github.com/licatajustin/treebook

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

There doesn't seem to be anything in the code that would create 3 albums. Does it happen every time you create them?

Nope when I created my first album and then went to look at it, three were created.. and when i add one more, only one more album is created. And i can't delete the albums either lol

when I try to delete the albums I personally created, it deletes the content of it and pretty much everything but it still says there is an album and it now has the kitty cat pictures that we specified if the album has no cover photo haha