Benjamin FAURE
Benjamin FAURE
Seems like Rails 5 is not compatible with Ruby 2.7 according to these sources : https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html https://github.com/rails/rails/issues/38426 The official guide says 2.2.2 or newer : https://guides.rubyonrails.org/upgrading_ruby_on_rails.html I tried switching from...
According to the Ruby website, 2.7 is still maintained (2.7.6 was released in April of this year) https://www.ruby-lang.org/en/downloads/branches/ https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/ Rails 5.2 is not compatible with Ruby 2.7 but Rails 6...
I took some time and tried to upgrade the roadmap code to Rails 6.1. It went fairly well. I tested some of the feature and with some minor corrections I...
I used React/Redux a few years ago on another project. I did some tests with React & Rails, if you use this gem https://github.com/reactjs/react-rails you can include React components into...
With this migration will most likely come an upgrade of Sass, meaning that `@import` in sass files no longer works. A review of all the CSS might be needed as...
I don't think so. It seems like calling an "enum" column returns the integer value, not the value defined in the enum (here `0` instead of `"organisationally_visible"`), triggering the exception....
https://github.com/DMPRoadmap/roadmap/blob/5eff207650cdc0951a9d84982c48e38002cd4c0f/app/models/plan.rb#L78 After some research, our problem seems to be coming from this line. It forces the system to return the visibility as an Integer. By removing this line, the above...
I think by using the `rubocop -a`/`rubocop -A` command, Rubocop can autofix most of the syntax issue, this one included. I can do a commit on this branch with the...
We need to upgrade to Ruby 3.1 before
Needs some investigation if this issue is still relevant