(untitled)

When reviewing the turbo-rails source code , I noticed something that I had never seen before: # test/dummy/config/application.rb case ( rails_version = ENV [ "RAILS_VERSION" ]) when "main" , nil then 7.1 else rails_version . to_f end Question: But what is: "main", nil then 7.1 ? You could write as the following: when rails_version === "main" || rails_version === nil or when rails_version ===…