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
Thomas MacFarlane
2,430 PointsGetting Started with Rails Extra Credit
"Now that you've created a Rails app and statuses, why not try modifying the layout of the statuses index page. Maybe spruce things up a bit using your knowledge of HTML and CSS."
Ummm... come again? As far as I know there isn't an index page to modify, it's built up from the code. And it looks like the next section is all about how to do exactly this, changing the look.
Was this just a stuff-up by the course content creators? Jason Seifer or Jim Hoskins ?
2 Answers
Jason Seifer
Treehouse Guest TeacherHey Thomas MacFarlane! Extra credit is pretty free-form. It can be things we haven't gone over yet or anything we think might be valuable for exploration.
John Paul Ashenfelter
1,118 PointsThomas,
When you generated the scaffold (rails g scaffold status), rails created the controller for statuses as well as the index/new/edit view pages as well as an application layout and some basic css files.
You can find them in app/views/statuses/index.html.erb for examile, or in layouts/application.html.erb
Thomas MacFarlane
2,430 PointsIsn't that what's about to be covered in the next badge?
Thomas MacFarlane
2,430 PointsSeriously, I'm going through the content now and Jim Hoskins is showing how to alter the HTML/CSS. That extra credit must be some kind of a throwback to when there wasn't a Frontend development badge.
John Paul Ashenfelter
1,118 PointsEither that or a response to how ugly the default Rails scaffold CSS is :)
Thomas MacFarlane
2,430 PointsLol indeed! I cringed when I saw the tables.
Thomas MacFarlane
2,430 PointsThomas MacFarlane
2,430 PointsHey how did you manage to mark yourself as best answer... sneaky little man :P Fair enough! I've got OCD so I've had to push past it and I think I might come back later and do some tweaks of my own to explore it further. Thanks for the reply!