OSDN Git Service

Replaces Enumeration.get_values and Enumeration.default with named scopes.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Feb 2009 13:33:09 +0000 (13:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 15 Feb 2009 13:33:09 +0000 (13:33 +0000)
commit4601ed2f3aebc545024287e318494ce32bc5803f
tree40f4bda265bbc92f9ddaed1bca6deb7769f2ccae
parent13e2c727cfa7b3a9e3e9bd0563cda0a15ee3892d
Replaces Enumeration.get_values and Enumeration.default with named scopes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
17 files changed:
app/controllers/documents_controller.rb
app/controllers/enumerations_controller.rb
app/controllers/issues_controller.rb
app/controllers/reports_controller.rb
app/helpers/timelog_helper.rb
app/models/document.rb
app/models/enumeration.rb
app/models/issue.rb
app/models/time_entry.rb
app/views/documents/_form.rhtml
app/views/enumerations/list.rhtml
app/views/issues/bulk_edit.rhtml
lib/tasks/migrate_from_mantis.rake
lib/tasks/migrate_from_trac.rake
test/functional/issues_controller_test.rb
test/unit/enumeration_test.rb
test/unit/issue_test.rb