Project

General

Profile

Bug #11814

model_name needs to be stringified on Rails 4

Added by Daniel Lobato Garcia almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
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

Related to Foreman - Tracker #3157: Rails 4.1 upgrade tasksClosed2013-09-27

Associated revisions

Revision 97ef85c1 (diff)
Added by Daniel Lobato Garcia almost 4 years ago

Fixes #11814 - model_name needs to be stringified on Rails 4

History

#1 Updated by The Foreman Bot almost 4 years ago

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

#2 Updated by Daniel Lobato Garcia almost 4 years ago

#3 Updated by Daniel Lobato Garcia almost 4 years ago

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

#4 Updated by Ohad Levy almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 63

#5 Updated by Dominic Cleal almost 4 years ago

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

Also available in: Atom PDF