module Ponytail

Constants

VERSION

Public Class Methods

check_pending?() click to toggle source
# File lib/ponytail/config.rb, line 14
def self.check_pending?
  Rails.application.config.middleware.include?(ActiveRecord::Migration::CheckPending)
end
config() click to toggle source
# File lib/ponytail/config.rb, line 6
def self.config
  @config
end
configure() { |config ||= configuration| ... } click to toggle source
# File lib/ponytail/config.rb, line 2
def self.configure(&block)
  yield @config ||= Ponytail::Configuration.new
end
rails4?() click to toggle source
# File lib/ponytail/config.rb, line 10
def self.rails4?
  ActiveRecord::VERSION::MAJOR >= 4
end