はじめに Railsで認証を行う時に使えるGemは幾つもあるかと思います。今回はこれらの中でも比較的シンプルだと言われているsorceryのチュートリアルをやってみました。 sorceryの特徴 sorceryの特徴について、公式サイトから幾つか抜粋します。 ・ Less is more - less than 20 public methods to remember for the entire feature-set make the lib easy to 'get'. ・No built-in or generated code - use the library's methods inside your own MVC structures, and don't fight to fix someone else's. ・Magic yes, Voodoo no - the
![[Ruby on Rails]sorceryによる認証 – (1)メールアドレスとパスワードによる認証のチュートリアル | DevelopersIO](https://cdn-ak-scissors.b.st-hatena.com/image/square/c4ba9673af464883e264d1d320af2d2947fae03d/height=288;version=1;width=512/https%3A%2F%2Fdevio2023-media.developers.io%2Fwp-content%2Fuploads%2F2013%2F11%2Frails.jpg)