Rails メモ
Devise + omniauth で認証する。
Rails - Twitter and Facebook Authentications with Omniauth and Devise | OCC
has_many されてるところが消えてない。
has_many :hoge, :dependent => :destroy
で一緒に消える
ログアウトの処理がrouting errorになってた。
- application.jsが読まれていなかった。layout/application.html.erb気をつける。