Flowdock
method

class_for_adapter

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: DatabaseTasks
class_for_adapter(adapter) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 210
      def class_for_adapter(adapter)
        key = @tasks.keys.detect { |pattern| adapter[pattern] }
        unless key
          raise DatabaseNotSupported, "Rake tasks not supported by '#{adapter}' adapter"
        end
        @tasks[key]
      end
Register or log in to add new notes.