Project

General

Profile

Actions

Bug #11814

closed

model_name needs to be stringified on Rails 4

Added by Daniel Lobato Garcia about 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

model_name.split doesn't work on Rails 4, instead we need to run to_s before. It's retrocompatible.


Related issues 1 (0 open1 closed)

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed09/27/2013

Actions
Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2718 added
  • Pull request deleted ()
Actions #2

Updated by Daniel Lobato Garcia about 9 years ago

Actions #3

Updated by Daniel Lobato Garcia about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Ohad Levy about 9 years ago

  • Translation missing: en.field_release set to 63
Actions #5

Updated by Dominic Cleal about 9 years ago

  • Category set to Rails
  • Assignee set to Daniel Lobato Garcia
Actions

Also available in: Atom PDF