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