Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Discussion archive #12
We've added basic support for filtering archived discussions and did a bunch of refactoring in the process of doing so.
We made some small changes to the way categories are labeled (pluralized them), so if anyone has run the seeds we created, you'll need to either manually pluralize your discussion categories or run
Also, we didn't add archived discussions to the seed data yet, because the seed data is messy enough as it is, and will be obsolete once we actually have an archive button in place. To simulate some archived discussions, it's easy to run
But if you want to be lazy and not actually run this code, you can just watch this short video: http://www.youtube.com/watch?v=xCpLvmG_2dc (watch at 720p for best results)
I am really loving the decorator pattern here. Great work so far! This is some neat code and I it looks like both of you are learning a bunch.