RE: Can't update tracker ยป 0001-Fix-Ruby-1.9-problem-with-splat-implementation.patch
app/models/issue.rb | ||
---|---|---|
157 | 157 |
if new_tracker_id |
158 | 158 |
self.tracker_id = new_tracker_id |
159 | 159 |
end |
160 |
self.attributes_without_tracker_first = new_attributes, *args
|
|
160 |
self.attributes_without_tracker_first(new_attributes, *args)
|
|
161 | 161 |
end |
162 | 162 |
alias_method_chain :attributes=, :tracker_first |
163 |
alias attributes_without_tracker_first attributes_without_tracker_first= |
|
163 | 164 |
|
164 | 165 |
def estimated_hours=(h) |
165 | 166 |
write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h) |