mirror of
https://github.com/dolphin-emu/redmine.git
synced 2024-11-27 11:30:25 +00:00
62e58f26b0
* Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81 |
||
---|---|---|
.. | ||
account_controller_test.rb | ||
admin_controller_test.rb | ||
application_controller_test.rb | ||
attachments_controller_test.rb | ||
boards_controller_test.rb | ||
custom_fields_controller_test.rb | ||
documents_controller_test.rb | ||
enumerations_controller_test.rb | ||
issue_categories_controller_test.rb | ||
issue_relations_controller_test.rb | ||
issues_controller_test.rb | ||
journals_controller_test.rb | ||
mail_handler_controller_test.rb | ||
members_controller_test.rb | ||
messages_controller_test.rb | ||
my_controller_test.rb | ||
news_controller_test.rb | ||
projects_controller_test.rb | ||
queries_controller_test.rb | ||
reports_controller_test.rb | ||
repositories_bazaar_controller_test.rb | ||
repositories_controller_test.rb | ||
repositories_cvs_controller_test.rb | ||
repositories_darcs_controller_test.rb | ||
repositories_git_controller_test.rb | ||
repositories_mercurial_controller_test.rb | ||
repositories_subversion_controller_test.rb | ||
roles_controller_test.rb | ||
search_controller_test.rb | ||
settings_controller_test.rb | ||
sys_controller_test.rb | ||
timelog_controller_test.rb | ||
trackers_controller_test.rb | ||
users_controller_test.rb | ||
versions_controller_test.rb | ||
watchers_controller_test.rb | ||
welcome_controller_test.rb | ||
wiki_controller_test.rb | ||
wikis_controller_test.rb | ||
workflows_controller_test.rb |