diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 18:41:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-10-22 18:41:03 +0000 |
commit | 498a34403ad3f15dee2067e9d8998675255010ce (patch) | |
tree | 4157bab01de3ac07d5d076cc3eeb988df1d2a993 /app/models/time_entry.rb | |
parent | 0fc1906201be897fb1d7b1424cd3955f0e224eb4 (diff) | |
download | redmine-498a34403ad3f15dee2067e9d8998675255010ce.tar.gz redmine-498a34403ad3f15dee2067e9d8998675255010ce.zip |
Removed unneeded :foreign_key option on belongs_to associations.
git-svn-id: http://svn.redmine.org/redmine/trunk@13484 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry.rb')
-rw-r--r-- | app/models/time_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index 8738668cc..80112308a 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -22,7 +22,7 @@ class TimeEntry < ActiveRecord::Base belongs_to :project belongs_to :issue belongs_to :user - belongs_to :activity, :class_name => 'TimeEntryActivity', :foreign_key => 'activity_id' + belongs_to :activity, :class_name => 'TimeEntryActivity' attr_protected :user_id, :tyear, :tmonth, :tweek |