create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
ActiveRecord::Base.establish_connection | |
ActiveRecord::Base.connection.tables.each do |table| | |
next if table == 'schema_migrations' | |
case ActiveRecord::Base.connection.adapter_name.downcase.to_sym | |
when :mysql2 || :postgresql | |
ActiveRecord::Base.connection.execute("TRUNCATE #{table}") | |
when :sqlite | |
ActiveRecord::Base.connection.execute("DELETE FROM #{table}") | |
end |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"