add missing relation

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@690 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
t.felgentreff 15 years ago
parent f226008324
commit ec39a56275
  1. 2
      app/models/rate.rb

@ -1,5 +1,7 @@
class Rate < ActiveRecord::Base
validates_numericality_of :rate, :allow_nil => false, :message => :activerecord_error_invalid
belongs_to :user
belongs_to :project
def self.clean_currency(value)
if value && value.is_a?(String)

Loading…
Cancel
Save