method

last_inserted_id

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::MysqlAdapter
last_inserted_id(result) 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/connection_adapters/mysql_adapter.rb, line 293
      def last_inserted_id(result)
        @connection.insert_id
      end
Register or log in to add new notes.