Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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