Google+ãã¿ã³ ã¯ã¦ãªããã¯ãã¼ã¯ãã¿ã³ æ´æ°æ¥æ: 2013å¹´08æ06æ¥ï¼ç«ï¼ ä½ææ¥æ: 2013å¹´08æ06æ¥ï¼ç«ï¼ åã®è¨äº / 次ã®è¨äº Rails4ã®sacaffoldã§ã³ã³ããã¼ã©ã¼ã«çæããã before_action :set_xxx ããã¹ããã¦ã¿ããã¨ãããåµã¾ã£ãã®ã§ã¡ã¢ã Rspecã® receive ã¯ããã¡ã½ãããå®è¡ããããã©ããã調ã¹ãã¢ãã¯ã ã§ããããã¡ã½ãããå®è¡ããããã©ããã調ã¹ãã¢ãã¯ãªã®ã§ã å®è¡ããããã¨ã確å®ãããã¢ãã¯ã¯æåãããã¨ãè¿ãã¦ãã®å 容ã¯å®è¡ãããªãã§çµããã ãã©ãå®è¡ãããã話ã ä¾ãã°ã³ã³ããã¼ã©ã¼ã class ArticlesController < ApplicationController before_action :set_articleãonly: [:show, :edit, :update,
{{#tags}}- {{label}}
{{/tags}}