• Eric Davis's avatar
    Changed Enumerations to use a Single Table Inheritance · 62e58f26
    Eric Davis authored
    * 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
    62e58f26
Name
Last commit
Last update
..
account_helper.rb Loading commit data...
admin_helper.rb Loading commit data...
application_helper.rb Loading commit data...
attachments_helper.rb Loading commit data...
auth_sources_helper.rb Loading commit data...
boards_helper.rb Loading commit data...
custom_fields_helper.rb Loading commit data...
documents_helper.rb Loading commit data...
enumerations_helper.rb Loading commit data...
issue_categories_helper.rb Loading commit data...
issue_relations_helper.rb Loading commit data...
issue_statuses_helper.rb Loading commit data...
issues_helper.rb Loading commit data...
journals_helper.rb Loading commit data...
mail_handler_helper.rb Loading commit data...
members_helper.rb Loading commit data...
messages_helper.rb Loading commit data...
my_helper.rb Loading commit data...
news_helper.rb Loading commit data...
projects_helper.rb Loading commit data...
queries_helper.rb Loading commit data...
reports_helper.rb Loading commit data...
repositories_helper.rb Loading commit data...
roles_helper.rb Loading commit data...
search_helper.rb Loading commit data...
settings_helper.rb Loading commit data...
sort_helper.rb Loading commit data...
timelog_helper.rb Loading commit data...
trackers_helper.rb Loading commit data...
users_helper.rb Loading commit data...
versions_helper.rb Loading commit data...
watchers_helper.rb Loading commit data...
welcome_helper.rb Loading commit data...
wiki_helper.rb Loading commit data...
workflows_helper.rb Loading commit data...