You are previewing Rails 3 in Action.

Rails 3 in Action

Cover of Rails 3 in Action by Ryan Bigg... Published by Manning Publications

Chapter 11. Tagging

This chapter covers

  • Tagging specific records for easier searching
  • Restricting user access to tagging functionality
  • Searching for specific tags or specific states of a ticket

In chapter 10, you saw how to give your tickets states (New, Open, and Closed) so that their progress can be indicated.

In this chapter, you’ll see how to give your tickets tags. Tags are useful for grouping similar tickets together into things such as iterations[1] or similar feature sets. If you didn’t have tags, you could crudely group tickets together by setting a ticket’s title to something such as “Tag - [name].” This method, however, is messy and difficult to sort through. Having a group of tickets with the same tag will make them much, much ...

The best content for your career. Discover unlimited learning on demand for around $1/day.