{"id":361,"date":"2006-11-12T19:27:52","date_gmt":"2006-11-12T10:27:52","guid":{"rendered":"http:\/\/ecpplus.net\/weblog\/20061112192752"},"modified":"2020-06-15T22:21:26","modified_gmt":"2020-06-15T13:21:26","slug":"radrails-%e3%81%a7-textmate-%e9%a2%a8%e3%81%ae%e8%a3%9c%e5%ae%8c%e6%a9%9f%e8%83%bd-2","status":"publish","type":"post","link":"https:\/\/ecpplus.net\/weblog\/radrails-%e3%81%a7-textmate-%e9%a2%a8%e3%81%ae%e8%a3%9c%e5%ae%8c%e6%a9%9f%e8%83%bd-2\/","title":{"rendered":"RadRails \u3067 TextMate \u98a8\u306e\u88dc\u5b8c\u6a5f\u80fd"},"content":{"rendered":"<p>\u00bb <a href=\"http:\/\/schf.uc.org\/articles\/2006\/09\/18\/textmate-like-template-syntax-for-radrails\">TextMate-like Template Syntax for RADRails<\/a><\/p>\n<p>\u3000Rails\u3067Ajax\u4f7f\u3063\u3066ToDo\u7ba1\u7406\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u3044\u305f\u3089\u9762\u767d\u305d\u3046\u306a\u3082\u306e\u3092\u767a\u898b\u3057\u305f\u3002TextMate \u306e\u88dc\u5b8c\u6a5f\u80fd\u3092RadRails\u3067\u3082\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u3002\u6163\u308c\u305f\u3089\u751f\u7523\u52b9\u7387\u304b\u306a\u308a\u4e0a\u304c\u308b\u6c17\u304c\u3059\u308b\u3002<\/p>\n<p>\u3000\u4f7f\u3044\u65b9\u306f\u3001\u2191\u306e\u30da\u30fc\u30b8\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f XML \u30d5\u30a1\u30a4\u30eb\u3092 RadRails \u306b\u8aad\u307f\u8fbc\u307e\u305b\u308b\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001Controller,Model,View \u304c\u5168\u90e8\u3054\u3063\u3061\u3083\u306b\u306a\u3063\u3066\u308b\u306e\u3067\u3001View\u3060\u3051\u5207\u308a\u96e2\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3002XML\u3092\u7de8\u96c6\u3059\u308c\u3070\u4e2d\u306b<!-- View templates --> \u3068\u3044\u3046\u90e8\u5206\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u3063\u304b\u3089\u4e0b\u3092\u5225\u30d5\u30a1\u30a4\u30eb\u306b\u3059\u308c\u3070OK\u3002 \u30b5\u30a4\u30c8\u306e\u8aac\u660e\u3068\u81ea\u5206\u306e RadRails \u3068\u306f\u3061\u3087\u3063\u3068\u9055\u3063\u305f\u3088\u3046\u3060\u3063\u305f\u306e\u3067\u88dc\u8db3\u3002<\/p>\n<p>\u3000Controlle&amp;\u3068Model \u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001<code>Window -> Preferences -> Ruby -> Editor -> Templates<\/code> \u3067 Import\u3002 View\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001 <code>Window -> Preferences -> Rails -> Editors -> RHTML Editor -> Templates<\/code> \u3067 Import\u3002<\/p>\n<p>\u3000\u305f\u3068\u3048\u3070\u3001 liai \u3068\u5165\u529b\u3057\u3066 Ctrl + Space \u3092\u62bc\u3059\u3068\u3001 <code><%= link_to \"text\", :action => \"edit\", :id => @item %><\/code> \u3068\u51fa\u3066\u3001 text \u306e\u90e8\u5206\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u305d\u3053\u3092\u5165\u529b\u3057\u3001\u6b21\u306f\u30bf\u30d6\u3092\u62bc\u3059\u3068 edit \u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u308a\u2026 \u3068\u3044\u3046\u611f\u3058\u306b\u5165\u529b\u3067\u304d\u308b\u3002\u3053\u308c\u306f\u2026\u3044\u3044\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00bb TextMate-like Template Syntax for RADRails \u3000Rails\u3067Ajax\u4f7f\u3063\u3066ToDo\u7ba1\u7406\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u3044\u305f\u3089\u9762\u767d\u305d\u3046\u306a\u3082\u306e\u3092\u767a\u898b\u3057\u305f\u3002TextMate \u306e\u88dc\u5b8c\u6a5f\u80fd\u3092RadRail [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2521,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[10],"class_list":["post-361","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","tag-rails"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":2,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"predecessor-version":[{"id":2568,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/posts\/361\/revisions\/2568"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media\/2521"}],"wp:attachment":[{"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ecpplus.net\/weblog\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}