remove spaces inside {} of app/models/custom_field_enumeration.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20395 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-11-16 12:22:17 +00:00
parent 2b559e5d21
commit fa0df9132b

View File

@@ -25,7 +25,7 @@ class CustomFieldEnumeration < ActiveRecord::Base
validates_numericality_of :position, :only_integer => true
before_create :set_position
scope :active, lambda { where(:active => true) }
scope :active, lambda {where(:active => true)}
def to_s
name.to_s