Flowdock
current_version() 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 372
      def current_version
        version = Base.connection.select_values(
          "SELECT version FROM #{schema_migrations_table_name}"
        ).map(&:to_i).max rescue nil
        version || 0
      end
Register or log in to add new notes.