rails_admin

https://github.com/railsadminteam/rails_admin

Ruby

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

Gitlab::Database.bulk_insert

Bulk inserts a number of rows into a table, optionally returning their
IDs.

table - The name of the table to insert the rows into.
rows - An Array of Hash instances, each mapping the columns to their
       values.
return_ids - When set to true the return value will be an Array of IDs of
             the inserted rows, this only works on PostgreSQL.
disable_quote - A key or an Array of keys to exclude from quoting (You
                become responsible for protection from SQL injection for
                these keys!)

Source | Google | Stack overflow

Edit

git clone [email protected]:railsadminteam/rails_admin.git

cd rails_admin

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--Database-bulk_insert-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::Database.bulk_insert"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--Database-bulk_insert-for-pr

hub pull-request


# Celebrate!