Vern Coffey
Results
3
comments of
Vern Coffey
I'm getting mal-formed SQL when using not_null on a has_many association with a default scope ```ruby class Orchard < ApplicationRecord has_many :plantings ... ``` ```ruby class Planting < ApplicationRecord belongs_to...
I'm new to this gem but why don't you do ``` f.input :tag_ids, label: "Tags", as: :tags, collection: Tag.all ```
For others, RoboCop does not complain about `where("jsonb_column_name = '[]'"`)