1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Merged bug fixes r3423 and r3427.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.9-stable@3433 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2010-02-14 15:57:56 +00:00
parent 57dcbd7376
commit 864fd9c6a1
2 changed files with 7 additions and 2 deletions

View File

@ -159,7 +159,8 @@ class Issue < ActiveRecord::Base
end end
send :attributes_without_tracker_first=, new_attributes, *args send :attributes_without_tracker_first=, new_attributes, *args
end end
alias_method_chain :attributes=, :tracker_first # Do not redefine alias chain on reload (see #4838)
alias_method_chain(:attributes=, :tracker_first) unless method_defined?(:attributes_without_tracker_first=)
def estimated_hours=(h) def estimated_hours=(h)
write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h) write_attribute :estimated_hours, (h.is_a?(String) ? h.to_hours : h)

View File

@ -7,7 +7,11 @@ http://www.redmine.org/
== Requirements == Requirements
* Ruby on Rails 2.3.5 * Ruby 1.8.6 or 1.8.7
* Ruby on Rails 2.3.5 (official downloadable Redmine releases are packaged with
the appropriate Rails version)
* A database: * A database:
* MySQL (tested with MySQL 5) * MySQL (tested with MySQL 5)
* PostgreSQL (tested with PostgreSQL 8.1) * PostgreSQL (tested with PostgreSQL 8.1)