close #337, doc rails4/devise3 support