Project

General

Profile

Tracker #3157

Rails 4.1 upgrade tasks

Added by Dominic Cleal over 9 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
% Done:

100%

Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

This tracker issue covers anything relating to Rails 4.0, e.g. refactors we can do, support for stuff we can/need to drop.


Related issues

Related to Foreman - Refactor #3158: Remove rescues from try calls where method doesn't existClosed2013-09-27
Related to Foreman - Refactor #7567: fix deprecated find_by_[attribute]_or_create dynamic methods Closed2014-09-22
Related to Foreman - Bug #7568: Use attr_accessible for rails 4 upgradeClosed2014-09-22
Related to Foreman - Bug #7569: scope's require create callable object (lambda or Proc) for rails 4 upgradeClosed2014-09-22
Related to Foreman - Bug #7573: update PUT to PATCH in routes.rb or on form_for as PATCH is the primary HTTP verb for updates for rails 4Duplicate2014-09-22
Related to Foreman - Bug #7574: update confirm option for the link_to helper to be data attribute for rails 4 upgradeClosed2014-09-22
Related to Foreman - Bug #7575: what to do with vendor/assets/fonts in rails 4 upgradeRejected2014-09-22
Related to Foreman - Bug #8724: replace gems which do not work with rails 4Resolved2014-12-16
Related to Foreman - Bug #8726: remove deprecated hash_for_path_helper_path method callsNew2014-12-16
Related to Foreman - Bug #8737: resolve deprecation warnings and get gems to work.Resolved2014-12-17
Related to Foreman - Bug #8738: get tests to run with rails4Resolved2014-12-17
Related to Foreman - Refactor #11216: Change rails default error messages to use the rails-i18n gemClosed2015-07-27
Related to Foreman - Bug #11812: Remove whiny nils and add eager loadClosed2015-09-15
Related to Foreman - Bug #11813: Use new engines listing syntaxClosed2015-09-15
Related to Foreman - Bug #11814: model_name needs to be stringified on Rails 4Closed2015-09-15
Related to Foreman - Bug #11816: Remove whitelist_attributes as it's deprecatedClosed2015-09-15
Related to Foreman - Bug #11817: Do not allow multi-line URL validationsClosed2015-09-15
Related to Foreman - Bug #11818: Update match routes to GETClosed2015-09-15
Related to Foreman - Bug #11844: Remove duplicate distinct scope in FactValueClosed2015-09-16
Related to Foreman - Bug #11846: Specify join_table and foreign keys for habtm associationsClosed2015-09-16
Related to Foreman - Bug #11912: Remove deprecated assert_present assert_blankClosed2015-09-22
Related to Foreman - Bug #11924: Substitute .scoped by .where(nil) to force return relationClosed2015-09-22
Related to Foreman - Bug #12011: Replace .includes(table).where(table) by .eager_loadClosed2015-09-30
Related to Foreman - Bug #12097: rails 4 compatibility - user_test compatible updatesRejected2015-10-08
Related to Foreman - Refactor #12098: Dangling Fog.unmock! makes compute_resource_vms failClosed2015-10-08
Related to Foreman - Refactor #12099: Template locked? relying on rake makes tests failClosed2015-10-08
Related to Foreman - Bug #12404: rake console doesn't work on rails 4.1Closed2015-11-05
Related to Foreman - Refactor #9524: Update to gettext_i18n_rails_js 1.xResolved2015-02-24
Related to Foreman - Refactor #12457: Use .exists? to check subnet exists for Rails 4 compatibilityClosed2015-11-12
Related to Foreman - Refactor #3540: Change pluck('table.column') back to pluck(:column)New2013-10-29
Related to Foreman - Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.xRejected2014-08-25
Related to Foreman - Refactor #12914: update rails configuration files to match to 4.1 syntaxClosed2015-12-22
Related to Discovery - Feature #12951: Make discovery compatible for rails4Closed2015-12-29
Related to Foreman - Tracker #13243: Rails 4.2 upgrade tasksResolved2016-01-15

Has duplicate Foreman - Feature #7512: upgrade to rails 4.xDuplicate2014-09-18
Blocked by Foreman - Tracker #4656: Drop Ruby 1.8 supportClosed

Blocked by Packaging - Feature #7228: Rebuild packages under ror41/ruby22 SCLsClosed2014-08-22
Blocks Packaging - Tracker #7229: Support installation on Fedora 21, drop Fedora 19Closed2014-08-22

Blocked by Foreman - Feature #7230: Upgrade Ruby on Rails to 4.1Closed2014-08-22
Blocked by Foreman - Refactor #10409: Rails 4 and 3 compatible changesClosed2015-05-07
Blocked by Packaging - Bug #12876: Foreman build can't find bundler 1.3 or higher on Wheezy/PreciseClosed2015-12-18
Blocks Katello - Tracker #9259: Rails 4 featureResolved2015-02-06

Associated revisions

Revision 729f0196 (diff)
Added by Tom Caspy over 7 years ago

refs #3157 - rails 4 changes

Revision a7b2c67b
Added by Ewoud Kohl van Wijngaarden over 7 years ago

Merge pull request #19 from unorthodoxgeek/rails4

refs #3157 - rails 4 changes

Revision 376fc416 (diff)
Added by Tom Caspy over 7 years ago

refs #3157 - rails 4 changes

Revision f6458b80
Added by Shlomi Zadok over 7 years ago

Merge pull request #138 from unorthodoxgeek/rails4

refs #3157 - rails 4 changes

Revision b4d752e1 (diff)
Added by Ondřej Pražák over 7 years ago

Refs #3157 - Dashboard fix

Revision 8dfce670
Added by Shlomi Zadok over 7 years ago

Merge pull request #149 from xprazak2/dashboard-fix

Refs #3157 - Dashboard fix

History

#1 Updated by Dominic Cleal over 9 years ago

  • Related to Refactor #3158: Remove rescues from try calls where method doesn't exist added

#2 Updated by Dominic Cleal over 9 years ago

  • Tracker changed from Refactor to Tracker

#3 Updated by Dominic Cleal over 9 years ago

  • Blocked by Refactor #3540: Change pluck('table.column') back to pluck(:column) added

#4 Updated by Dominic Cleal about 9 years ago

#5 Updated by Dominic Cleal almost 9 years ago

  • Blocked by Feature #7228: Rebuild packages under ror41/ruby22 SCLs added

#6 Updated by Dominic Cleal almost 9 years ago

  • Blocks Tracker #7229: Support installation on Fedora 21, drop Fedora 19 added

#7 Updated by Dominic Cleal almost 9 years ago

#8 Updated by Dominic Cleal almost 9 years ago

  • Subject changed from [TRACKER] Rails 4.0 upgrade tasks to Rails 4.0 upgrade tasks

#9 Updated by Tomer Brisker almost 9 years ago

  • Blocked by Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x added

#10 Updated by Ohad Levy over 8 years ago

  • Blocked by Feature #3917: Add strong_parameters to foreman added

#11 Updated by Ohad Levy over 8 years ago

#12 Updated by Joseph Magen over 8 years ago

  • Related to Refactor #7567: fix deprecated find_by_[attribute]_or_create dynamic methods added

#13 Updated by Joseph Magen over 8 years ago

  • Related to Bug #7568: Use attr_accessible for rails 4 upgrade added

#14 Updated by Joseph Magen over 8 years ago

  • Related to Bug #7569: scope's require create callable object (lambda or Proc) for rails 4 upgrade added

#15 Updated by Joseph Magen over 8 years ago

  • Related to Bug #7573: update PUT to PATCH in routes.rb or on form_for as PATCH is the primary HTTP verb for updates for rails 4 added

#16 Updated by Joseph Magen over 8 years ago

  • Related to Bug #7574: update confirm option for the link_to helper to be data attribute for rails 4 upgrade added

#17 Updated by Joseph Magen over 8 years ago

  • Related to Bug #7575: what to do with vendor/assets/fonts in rails 4 upgrade added

#18 Updated by Ohad Levy over 8 years ago

  • Legacy Backlogs Release (now unused) set to 21

#19 Updated by Ohad Levy over 8 years ago

  • Legacy Backlogs Release (now unused) deleted (21)

#20 Updated by Dominic Cleal over 8 years ago

#21 Updated by Dominic Cleal over 8 years ago

#22 Updated by Dominic Cleal over 8 years ago

#23 Updated by Tom Caspy over 8 years ago

  • Related to Bug #8724: replace gems which do not work with rails 4 added

#24 Updated by Tom Caspy over 8 years ago

  • Related to Bug #8726: remove deprecated hash_for_path_helper_path method calls added

#25 Updated by Tom Caspy over 8 years ago

  • Related to Bug #8737: resolve deprecation warnings and get gems to work. added

#26 Updated by Tom Caspy over 8 years ago

  • Related to Bug #8738: get tests to run with rails4 added

#27 Updated by Dominic Cleal over 8 years ago

  • Related to Bug #8791: I18n::InvalidLocale: :en is not a valid locale added

#28 Updated by Dominic Cleal over 8 years ago

  • Related to deleted (Bug #8791: I18n::InvalidLocale: :en is not a valid locale)

#29 Updated by Dominic Cleal over 8 years ago

  • Blocks Bug #4274: remove I18n deprecation warning when running tests added

#30 Updated by Eric Helms over 8 years ago

#31 Updated by Dominic Cleal about 8 years ago

  • Blocks Bug #10019: Compute Profile Memory options different for selected language? added

#32 Updated by Daniel Lobato Garcia about 8 years ago

#33 Updated by Tomer Brisker almost 8 years ago

  • Related to Refactor #11216: Change rails default error messages to use the rails-i18n gem added

#35 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11812: Remove whiny nils and add eager load added

#36 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11813: Use new engines listing syntax added

#37 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11814: model_name needs to be stringified on Rails 4 added

#38 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11816: Remove whitelist_attributes as it's deprecated added

#39 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11817: Do not allow multi-line URL validations added

#40 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11818: Update match routes to GET added

#41 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11844: Remove duplicate distinct scope in FactValue added

#42 Updated by Ohad Levy over 7 years ago

  • Related to Bug #11846: Specify join_table and foreign keys for habtm associations added

#43 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11912: Remove deprecated assert_present assert_blank added

#44 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #11924: Substitute .scoped by .where(nil) to force return relation added

#45 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #12011: Replace .includes(table).where(table) by .eager_load added

#46 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Bug #12097: rails 4 compatibility - user_test compatible updates added

#47 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Refactor #12098: Dangling Fog.unmock! makes compute_resource_vms fail added

#48 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Refactor #12099: Template locked? relying on rake makes tests fail added

#49 Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing

#50 Updated by Tom Caspy over 7 years ago

  • Related to Bug #12404: rake console doesn't work on rails 4.1 added

#51 Updated by Dominic Cleal over 7 years ago

  • Related to Refactor #9524: Update to gettext_i18n_rails_js 1.x added

#52 Updated by Daniel Lobato Garcia over 7 years ago

  • Related to Refactor #12457: Use .exists? to check subnet exists for Rails 4 compatibility added

#53 Updated by Dominic Cleal over 7 years ago

  • Blocked by deleted (Refactor #3540: Change pluck('table.column') back to pluck(:column))

#54 Updated by Dominic Cleal over 7 years ago

  • Related to Refactor #3540: Change pluck('table.column') back to pluck(:column) added

#55 Updated by Dominic Cleal over 7 years ago

  • Blocked by deleted (Feature #3917: Add strong_parameters to foreman)

#56 Updated by Dominic Cleal over 7 years ago

  • Blocked by deleted (Refactor #8705: Update jQuery to recent version)

#57 Updated by Dominic Cleal over 7 years ago

  • Blocks deleted (Bug #4274: remove I18n deprecation warning when running tests)

#58 Updated by Dominic Cleal over 7 years ago

  • Blocks deleted (Bug #10019: Compute Profile Memory options different for selected language?)

#59 Updated by Dominic Cleal over 7 years ago

  • Blocked by deleted (Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x)

#60 Updated by Dominic Cleal over 7 years ago

  • Blocked by Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x added

#61 Updated by Dominic Cleal over 7 years ago

  • Blocked by Bug #12876: Foreman build can't find bundler 1.3 or higher on Wheezy/Precise added

#62 Updated by Dominic Cleal over 7 years ago

  • Subject changed from Rails 4.0 upgrade tasks to Rails 4.1 upgrade tasks

#63 Updated by Dominic Cleal over 7 years ago

  • Blocked by deleted (Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x)

#64 Updated by Dominic Cleal over 7 years ago

  • Related to Bug #7246: Remove counter workaround for #5692 on upgrade to rails 4.x added

#65 Updated by Dominic Cleal over 7 years ago

#66 Updated by Dominic Cleal over 7 years ago

#67 Updated by Ohad Levy over 7 years ago

  • Related to Refactor #12914: update rails configuration files to match to 4.1 syntax added

#68 Updated by Dominic Cleal over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
  • Legacy Backlogs Release (now unused) set to 71

Any further tickets for issues resulting from the Rails 4.1 upgrade should be marked as related to either #7230 (for Foreman core) or this ticket, and with release set to 1.11.0 so they're resolved as blockers.

#69 Updated by Ori Rabin over 7 years ago

  • Related to Feature #12951: Make discovery compatible for rails4 added

#70 Updated by Dominic Cleal over 7 years ago

Also available in: Atom PDF