Flowdock
method

call

Importance_0
Ruby on Rails latest stable (v4.1.8) - 0 notes - Class: CheckPending
call(env) public

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/migration.rb, line 374
      def call(env)
        mtime = ActiveRecord::Migrator.last_migration.mtime.to_i
        if @last_check < mtime
          ActiveRecord::Migration.check_pending!
          @last_check = mtime
        end
        @app.call(env)
      end
Register or log in to add new notes.