Open
Description
I started the descusion here. In the example bellow the if:
, unless:
, presente:
should be colored differently (now with the same color).
class Product < ActiveRecord::Base
belongs_to :project
enum status: { enabled: 1, disabled: 2 }
validates :project, :type, presence: true
with_options if: :something?, unless: :something? do |step|
step.validates :name, :description, presence: true
end
end
Can we add this?