{"id":3590,"date":"2013-04-16T00:39:46","date_gmt":"2013-04-15T15:39:46","guid":{"rendered":"https:\/\/engineer-shukatu.jp\/intern\/?p=3590"},"modified":"2013-04-16T00:39:46","modified_gmt":"2013-04-15T15:39:46","slug":"rails3%e7%b3%bb%e3%81%a7%e9%96%8b%e7%99%ba%e3%81%99%e3%82%8b%e9%9a%9b%e3%81%ab%e3%81%8a%e3%81%84%e3%81%a6%e3%81%8a%e3%81%95%e3%81%88%e3%81%a6%e3%81%8a%e3%81%8d%e3%81%9f%e3%81%8410%e5%80%8b%e3%81%ae","status":"publish","type":"post","link":"https:\/\/engineer-shukatu.jp\/intern\/archives\/3590","title":{"rendered":"Rails3\u7cfb\u3067\u958b\u767a\u3059\u308b\u969b\u306b\u304a\u3044\u3066\u304a\u3055\u3048\u3066\u304a\u304d\u305f\u304410\u500b\u306e\u8981\u70b9\u3092\u5217\u6319\u3057\u3066\u307f\u307e\u3057\u305f"},"content":{"rendered":"<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Rails3\u7cfb\u3067\u958b\u767a\u3059\u308b\u969b\u306b\u304a\u3044\u3066\u304a\u3055\u3048\u3066\u304a\u304d\u305f\u3044\u8981\u70b9\u306b\u3064\u3044\u3066\u3001\u5217\u6319\u3057\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\n<strong>1. ActiveRecord \u3092\u4f7f\u3063\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092DB\u306b\u4fdd\u5b58\u53ef\u80fd<\/strong><br \/>\n<strong>2. \u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u306f\u3001rake\u30b3\u30de\u30f3\u30c9\u306edb:sessions:create\u30bf\u30b9\u30af\u3067\u751f\u6210\u3067\u304d\u308b<\/strong><br \/>\n<strong>3. \u30d5\u30a9\u30fc\u30e0\u306b\u5165\u529b\u3055\u308c\u305f\u5024\u3092\u53d6\u5f97\u3059\u308b\u306b\u306f\u3001params\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046<\/strong><br \/>\n<strong>4.\u7ba1\u7406\u753b\u9762\u306a\u3069\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306b\u306f\u3001URL \u3082\u305d\u308c\u306b\u5bfe\u5fdc\u4ed8\u3051\u3089\u308c\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u3082\u30e1\u30a4\u30f3\u306e\u3082\u306e\u3068\u306f\u533a\u5225\u3057\u305f\u304f\u306a\u308b\u3053\u3068\u304c\u3042\u308b\u3002\u305d\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u306f\u3001\u540d\u524d\u7a7a\u9593\u3092\u5206\u3051\u308b\u3068\u308f\u304b\u308a\u3084\u3059\u3044\u3002\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u5b9a\u7fa9\u3067\u540d\u524d\u7a7a\u9593\u3092\u5206\u3051\u308b\u306b\u306f\u3001namespace\u30e1\u30bd\u30c3\u30c9\u306e\u30d6\u30ed\u30c3\u30af\u5185\u3067\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u5b9a\u7fa9\u3002<\/strong><br \/>\n<strong>5. Rails \u306b\u306fBasic\u8a8d\u8a3c\u3092\u304b\u3051\u308b\u4ed5\u7d44\u307f\u304c\u5099\u308f\u3063\u3066\u3044\u308b\u3002Rails \u3067Basic \u8a8d\u8a3c\u3092\u4f7f\u3046\u306b\u306f\u3001authenticate_or_request_with_http_basic\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3002<\/strong><br \/>\n<strong>6. \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u304b\u3089SSL\u304c\u6709\u52b9\u304b\u3069\u3046\u304b\u3092\u5224\u5225\u3059\u308b\u306b\u306f\u3001request\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306essl?\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002<\/strong><br \/>\n<strong>7. \u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u74b0\u5883\u3067SSL\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u3001\u30d6\u30e9\u30a6\u30b6\u3068\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u9593\u306fHTTPS \u3067\u901a\u4fe1\u3059\u308b\u304c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593\u3067\u306f\u6697\u53f7\u5316\u3057\u3066\u3044\u306a\u3044HTTP\u3067\u306e\u901a\u4fe1\u3068\u3044\u3046\u69cb\u6210\u3092\u3068\u308b\u3053\u3068\u304c\u591a\u3044\u3002\u305d\u3046\u3044\u3063\u305f\u74b0\u5883\u3067HTTPS\u3067\u306e\u901a\u4fe1\u3067\u3042\u308b\u3053\u3068\u3092\u4f1d\u3048\u308b\u306b\u306f\u3001HTTP_X_FORWARDED_PROTO \u30d8\u30c3\u30c0\u306b\u300chttps\u300d\u3092\u8a2d\u5b9a\u3057\u3066\u5bfe\u5fdc\u3002<\/strong><br \/>\n<strong>8. ActiveRecord \u306fcreated_at\u30ab\u30e9\u30e0\u3068updated_at\u30ab\u30e9\u30e0\u306b\u3001\u305d\u308c\u305e\u308c\u30ec\u30b3\u30fc\u30c9\u306e\u4f5c\u6210\u30fb\u66f4\u65b0\u6642\u523b\u3092\u81ea\u52d5\u7684\u306b\u8a18\u9332\u3059\u308b\u3002<\/strong><br \/>\n<strong>9. Rails \u3067\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u306b\u306f\u3001ActionMailer::Base\u3092\u7d99\u627f\u3057\u305f\u30e1\u30fc\u30eb\u9001\u4fe1\u30af\u30e9\u30b9\u3092\u4f7f\u3046\u3002<\/strong><br \/>\n<strong>10. Rails \u306b\u306f\u3001\u30c6\u30b9\u30c8\u3092\u66f8\u304d\u306a\u304c\u3089\u958b\u767a\u3092\u9032\u3081\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3082\u5099\u308f\u3063\u3066\u3044\u308b\u3002Rails \u3067\u4f7f\u7528\u3067\u304d\u308b\u30c6\u30b9\u30c6\u30a3\u30f3\u30b0\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b\u306f\u3001\u6a19\u6e96\u306etest\/unit \u30d9\u30fc\u30b9\u306e\u3082\u306e\u4ee5\u5916\u306b\u3082\u3001RSpec\u3068\u305d\u306eRails \u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3042\u308bRSpec-Rails\u304c\u3042\u308b\u3002<\/strong><br \/>\nRails\u3067\u306e\u958b\u767a\u306b\u6311\u6226\u3057\u3066\u307f\u305f\u3044\u65b9\u306f<a title=\"Ruby on Rails3\u7cfb\u306b\u304a\u3051\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4f5c\u6210\u624b\u9806\u306b\u3064\u3044\u3066\" href=\"https:\/\/engineer-shukatu.jp\/intern\/archives\/3575\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089\u306e\u8a18\u4e8b<\/a>\u3082\u3069\u3046\u305e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Rails3\u7cfb\u3067\u958b\u767a\u3059\u308b\u969b\u306b\u304a\u3044\u3066\u304a\u3055\u3048\u3066\u304a\u304d\u305f\u3044\u8981\u70b9\u306b\u3064\u3044\u3066\u3001\u5217\u6319\u3057\u3066\u307f\u307e\u3057\u305f\u3002 1. ActiveRecord \u3092\u4f7f\u3063\u3066\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092DB\u306b\u4fdd\u5b58\u53ef\u80fd 2. \u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u30de\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18],"tags":[30],"class_list":["post-3590","post","type-post","status-publish","format-standard","hentry","category-development","tag-30"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/posts\/3590"}],"collection":[{"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/comments?post=3590"}],"version-history":[{"count":0,"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/posts\/3590\/revisions"}],"wp:attachment":[{"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/media?parent=3590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/categories?post=3590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engineer-shukatu.jp\/intern\/wp-json\/wp\/v2\/tags?post=3590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}