Skip to content

[SEARCH] [TAGS] tag system setup

Ghost User requested to merge development into staging

Goals

Add a tagging system for the Compost model

  • add tags to composts
  • filter compost according to tags

Changes

  • db/schema.rb : ran tags migrations
  • app/models/compost.rb : added tag lists to strong params

Tests

  • in rails console
    • CRUD possible on compost tags in district and composition lists : PASSED
    • CRUD impossible on other lists : PASSED
    • Compost search possible by tag with all selected tags, any selected tag, excluding a tag : PASSED

Links

Side notes

TODO NEXT : write documentation how to use the tags and methods

Merge request reports