Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用 rails 3 构建自己的博客,并使用 devise gem 进行身份验证。问题是,我只想要一个用户——管理员用户,并且禁止其他人注册,我怎样才能做到这一点?
有什么理由不能使用Basic Http Authentication吗?恕我直言,这个用例的设计似乎有点过头了。