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.2.1是否有方法has_secure_password?
has_secure_password
我在哪里可以找到这个?谷歌给了我通用链接。
是的 https://github.com/rails/rails/blob/v3.2.1/activemodel/lib/active_model/secure_password.rb#L34
以后可以使用 api.rubyonrails.org 来查找方法。然后点击“在 Github 上显示”。然后从 Rails 的 Github 标签菜单中选择您想要的标签。