I have an object called Course. I would like to provide tags on courses so that users can search/filter based on those tags.
I’m using the gem acts-as-taggable-on:
Course.tagged_with(params[:tag])
In this method can I pass additional filtering on Course columns/attributes i.e. where enabled = 'Y'?
Yes,
.tagged_withshould be chainable with other ActiveRecord queries: