# 使用 rails 等批量创建用户

**URL:** https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716
**Category:** Development
**Created:** [2023年十月10日 06:37 UTC](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716 "2023-10-10T06:37:09Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2023年十月14日 18:30 UTC](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716/11 "2023-10-14T18:30:26Z")

</div>

> [@merefield](#):
>
> 你不应该在实时站点上进行开发。

我认为你不应该在标准安装上开发 Rails 或 Ember，但我经常在生产容器中进行导入。由于这只是一个 rake 任务，你甚至不需要重新启动服务器即可使更改生效。

由于它不是公开的，如果出现问题，可以安全地恢复到备份。这可能是我会做的地方。

你可以备份实时站点并将其恢复到开发站点，进行工作，然后备份/恢复回实时站点。

---

_[View the full topic](https://meta.discourse.org/t/bulk-creating-users-with-rails-etc/281716)._
