Ruby on Rails 3.2.11ããªãªã¼ã¹ããã¾ããã 3.2.10ãåºã¦ããæ°æ¥ã§ãããåããã¦ããªãé大ãªã»ãã¥ãªãã£FIXãå«ã¾ãã¦ããã®ã§ã確å®ã«æ´æ°ãã¾ãããã 3.2.11ã§ã®å¤æ´ç¹ (1) URLãç¥ã£ã¦ãã人ã ããã¢ã¯ã»ã¹ã§ããé ããã¼ã¸ãããã¹ã¯ã¼ããªã»ããæ©è½ãªã©ã§ãtokenèªè¨¼ããããã¨ãããããã¾ãã ãã¨ãã°ä»¥ä¸ã®ãããªã³ã¼ãã§ãã if params[:token] @user = User.find_by_token(params[:token]) end ããã§ãä»®ã«params[:token]ã空ã®ããã·ã¥ {} ã®å ´åãifæã¯å½ç¶çã¨è©ä¾¡ããã¦ééãã¾ãããfind_by_tokenã®é¨åã¯æ¡ä»¶ç¡ãã¨è¦ãªããã¾ãã User.find_by_token({}) User.where(:token => {}) ãã®ãããªã³ã¼ãã¯ãwhereã
{{#tags}}- {{label}}
{{/tags}}