mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
remove spaces inside {} of app/models/issue_status.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20405 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d76c7e2122
commit
a16ae9048c
@ -33,7 +33,7 @@ class IssueStatus < ActiveRecord::Base
|
|||||||
validates_length_of :name, :maximum => 30
|
validates_length_of :name, :maximum => 30
|
||||||
validates_inclusion_of :default_done_ratio, :in => 0..100, :allow_nil => true
|
validates_inclusion_of :default_done_ratio, :in => 0..100, :allow_nil => true
|
||||||
|
|
||||||
scope :sorted, lambda { order(:position) }
|
scope :sorted, lambda {order(:position)}
|
||||||
scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}
|
scope :named, lambda {|arg| where("LOWER(#{table_name}.name) = LOWER(?)", arg.to_s.strip)}
|
||||||
|
|
||||||
safe_attributes(
|
safe_attributes(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user