I also added using of these new Note methods (in added commits). Also,
eliminated logic from `.(j)builder` / `comments partial` mentioned
[here](https://github.com/openstreetmap/openstreetmap-website/pull/5485#discussion_r1912484985).
I wasn't sure about new version of:
`@notes = @notes.joins(:comments).where("to_tsvector('english',
note_comments.body) @@ plainto_tsquery('english', ?)", params[:q]) if
params[:q]`
in `app/controllers/api/notes_controller.rb`, so I thought to wait, with
rewriting this, for creating new records in database (in PR2 & PR3).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5494#issuecomment-2590717263
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5494/c2590717...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev