Feature #23630

Migrate to Rails 5.2

Added by Tigergm Wu about 2 years ago. Updated 2 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Rails support
Target version:4.0.0
Resolution:Fixed

Description

Is there any plan to upgrade the enviroment to rails 5?
Or is there any future version planning for rails 5?
Thanks a lot.


Related issues

Related to Redmine - Defect #16482: Wrong search query for timelog, when timezone not UTC New
Related to Redmine - Defect #26498: Rails5: scm entry *.html causes 404 Not Found Closed
Related to Redmine - Defect #26499: DEPRECATION WARNING due to changes in dirty attributes me... Closed
Related to Redmine - Defect #26506: User link syntax causes an exception while sending email ... Closed
Related to Redmine - Defect #26513: Rails5: production env: NameError (uninitialized constant... Closed
Related to Redmine - Defect #26518: Rails 5: Adding a block in My Page causes "Invalid form a... Closed
Related to Redmine - Defect #26610: Migration file generated by redmine_plugin_model generato... Closed
Related to Redmine - Defect #26615: "schema_migrations_table_name is deprecated" warning duri... Closed
Related to Redmine - Defect #27871: Failed to run plugins test Closed
Related to Redmine - Defect #17517: Attempting to Add a Related Issue Multiple Times Sequenti... Closed
Related to Redmine - Defect #26636: Rails 5: "Page not found" error when accessing a page of ... Closed
Related to Redmine - Defect #28482: Buttons are disabled when modal is opened again after exp... Closed
Related to Redmine - Defect #27283: Failed to run "rake db:migrate" command against clean dat... Closed
Related to Redmine - Patch #28929: Update roadie-rails to ~> 1.3.0 Closed
Related to Redmine - Defect #28931: Unreachable code in QueriesControllerTest#test_bulk_copy_... Closed
Related to Redmine - Patch #28932: [Rails 5.2] image_tag no longer generates default alt text Closed
Related to Redmine - Defect #8537: Error in copying projects Closed 2011-06-06
Related to Redmine - Patch #29344: Migrate to Rails 5.2.1 Closed
Related to Redmine - Patch #29424: Convert migration file from 4.2 to 5.2 New
Related to Redmine - Patch #29772: Rails 5: Update INSTALL doc: s/WEBrick/Puma/ Closed
Duplicated by Redmine - Patch #28933: Migrate to Rails 5.2 Closed
Blocked by Redmine - Feature #19755: Drop protected_attributes gem Closed
Blocked by Redmine - Feature #25538: Drop support for Ruby 2.2.1 and ealier, 2.2.2+ is now req... Closed

Associated revisions

Revision 16859
Added by Jean-Philippe Lang about 1 year ago

Merged rails-5.1 branch (#23630).

Revision 16860
Added by Jean-Philippe Lang about 1 year ago

Renames column comments.comments to comments.content to please Rails 5.1 (#23630).

Revision 16864
Added by Jean-Philippe Lang about 1 year ago

Converts UI tests to system tests (#23630).

Revision 17410
Added by Jean-Philippe Lang 4 months ago

Upgrade to Rails 5.2.0 (#23630).

Revision 17411
Added by Jean-Philippe Lang 4 months ago

Dangerous query method deprecation warnings (#23630).

Revision 17500
Added by Jean-Philippe Lang 28 days ago

Sqlite3: Boolean values are now stored as 1 and 0 (#23630).

Revision 17501
Added by Jean-Philippe Lang 28 days ago

Sqlite3: change default value for booleans to 1 or 0 (#23630).

History

#1 Updated by Toshi MARUYAMA about 2 years ago

#2 Updated by Toshi MARUYAMA about 2 years ago

  • Subject changed from rails 5.0 enviroment support to Rails 5 support
  • Target version set to 4.0.0

#3 Updated by Toshi MARUYAMA over 1 year ago

  • Related to Defect #16482: Wrong search query for timelog, when timezone not UTC added

#4 Updated by Go MAEDA over 1 year ago

  • Blocked by Feature #25538: Drop support for Ruby 2.2.1 and ealier, 2.2.2+ is now required added

#5 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26498: Rails5: scm entry *.html causes 404 Not Found added

#6 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26499: DEPRECATION WARNING due to changes in dirty attributes methods in Rails 5.1 added

#7 Updated by Jean-Philippe Lang about 1 year ago

  • Subject changed from Rails 5 support to Migrate to Rails 5.1

#8 Updated by Jean-Philippe Lang about 1 year ago

  • Assignee set to Jean-Philippe Lang

The migration to Rails 5.1.2 is complete and will be merged in trunk very soon.

#9 Updated by Jean-Philippe Lang about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Fixed

#10 Updated by Tigergm Wu about 1 year ago

Good News and I am looking forward to this new version. Thank you so much!
Jean-Philippe Lang wrote:

The migration to Rails 5.1.2 is complete and will be merged in trunk very soon.

#11 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26506: User link syntax causes an exception while sending email notification on Rails 5.1 added

#12 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26513: Rails5: production env: NameError (uninitialized constant Redmine::SortCriteria) added

#13 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26518: Rails 5: Adding a block in My Page causes "Invalid form authenticity token." added

#14 Updated by Jean-Philippe Lang about 1 year ago

  • Related to Defect #26610: Migration file generated by redmine_plugin_model generator is not compatible with Rails 5.1 added

#15 Updated by Go MAEDA about 1 year ago

  • Related to Defect #26615: "schema_migrations_table_name is deprecated" warning during redmine:plugins:migrate added

#16 Updated by Go MAEDA 10 months ago

#17 Updated by Marius BALTEANU 7 months ago

  • Related to Defect #17517: Attempting to Add a Related Issue Multiple Times Sequentially Causes 500 added

#18 Updated by Marius BALTEANU 7 months ago

  • Related to Defect #26636: Rails 5: "Page not found" error when accessing a page of a plugin in production mode added

#19 Updated by Go MAEDA 6 months ago

  • Related to Defect #28482: Buttons are disabled when modal is opened again after exporting CSV added

#20 Updated by Marius BALTEANU 6 months ago

  • Related to Defect #27283: Failed to run "rake db:migrate" command against clean database on MySQL 5.7 added

#21 Updated by Jean-Philippe Lang 4 months ago

  • Subject changed from Migrate to Rails 5.1 to Migrate to Rails 5.2

#22 Updated by Go MAEDA 4 months ago

  • Related to Patch #28929: Update roadie-rails to ~> 1.3.0 added

#23 Updated by Go MAEDA 4 months ago

  • Related to Defect #28931: Unreachable code in QueriesControllerTest#test_bulk_copy_to_another_project added

#24 Updated by Go MAEDA 4 months ago

  • Related to Patch #28932: [Rails 5.2] image_tag no longer generates default alt text added

#25 Updated by Go MAEDA 4 months ago

#26 Updated by Go MAEDA 4 months ago

#27 Updated by Go MAEDA 2 months ago

#28 Updated by Enziin System 2 months ago

The process of migrating to 5.2.1 does not simply add Rails 5.2.1 to the Gemfile.

It also involves changing the "ActiveRecord :: Migration [4.2]" in the migrate file.

Because id(11) will quickly overflow when using Redmine on a large scale application.

Let's evaluate the ability to switch to bigint(20), which is supported by default by Rails 5.2.1

#29 Updated by Go MAEDA 2 months ago

Enziin System wrote:

Because id(11) will quickly overflow when using Redmine on a large scale application.

Let's evaluate the ability to switch to bigint(20), which is supported by default by Rails 5.2.1

Extending the width of the columns is a new feature request. Please open a new issue instead of adding notes to a closed issue.

#30 Updated by Marius BALTEANU 28 days ago

  • Related to Patch #29424: Convert migration file from 4.2 to 5.2 added

#31 Updated by Go MAEDA 5 days ago

  • Related to Patch #29772: Rails 5: Update INSTALL doc: s/WEBrick/Puma/ added

Also available in: Atom PDF