<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rails 2.0 &#187; エディタ</title>
	<atom:link href="http://rails20.jp/category/%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf/feed/" rel="self" type="application/rss+xml" />
	<link>http://rails20.jp</link>
	<description>Rails開発のTips、ソフトウェア、ライブラリに関する情報をお届けします。Railsの開発受託も行っています。</description>
	<lastBuildDate>Thu, 08 Oct 2009 04:14:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Railsの開発向けエディタ（Emacs編）</title>
		<link>http://rails20.jp/2008/03/emacs/</link>
		<comments>http://rails20.jp/2008/03/emacs/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 06:21:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[エディタ]]></category>
<category></category>
		<guid isPermaLink="false">http://rails20.jp/2008/03/rails%e3%81%ae%e9%96%8b%e7%99%ba%e5%90%91%e3%81%91%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf%ef%bc%88emacs%e7%b7%a8%ef%bc%89/</guid>
		<description><![CDATA[Railsの開発に限った訳ではないのですが、筆者はテキストエディタはEmacsを使っています。なので、Railsの開発もEmacsで行っています。EmacsにはRails開発向けにrails.elが作られており、それを使うと効率的な開発ができるようになります。

ダウンロード＆使い方についてはrails.el まとめ &#8211; ひげぽん OSとか作っちゃうかMona- を参考にしていただくとして、コマンドだけでも以下のように各種揃っています。


rails-browse-api            rails-browse-api-at-point
rails-controller-layout:menu       rails-controller-layout:switch-to-controller
rails-controller-layout:switch-to-functional-test
rails-controller-layout:switch-to-helper
rails-controller-layout:switch-to-migration
rails-controller-layout:switch-to-model
rails-controller-layout:switch-to-unit-test
rails-controller-layout:toggle-action-view
rails-controller-minor-mode        rails-create-tags
rails-find:config                  rails-find:controller
rails-find:db     [...]]]></description>
			<content:encoded><![CDATA[<p>Railsの開発に限った訳ではないのですが、筆者はテキストエディタはEmacsを使っています。なので、Railsの開発もEmacsで行っています。EmacsにはRails開発向けにrails.elが作られており、それを使うと効率的な開発ができるようになります。</p>
<p><img src="http://rails20.jp/wp-content/uploads/1.jpg" alt="ピクチャ 1.png" height="427" width="469" /></p>
<p>ダウンロード＆使い方については<a href="http://d.hatena.ne.jp/higepon/20061222/1166774270">rails.el まとめ &#8211; ひげぽん OSとか作っちゃうかMona-</a> を参考にしていただくとして、コマンドだけでも以下のように各種揃っています。</p>
<blockquote>
<pre>
rails-browse-api            rails-browse-api-at-point
rails-controller-layout:menu       rails-controller-layout:switch-to-controller
rails-controller-layout:switch-to-functional-test
rails-controller-layout:switch-to-helper
rails-controller-layout:switch-to-migration
rails-controller-layout:switch-to-model
rails-controller-layout:switch-to-unit-test
rails-controller-layout:toggle-action-view
rails-controller-minor-mode        rails-create-tags
rails-find:config                  rails-find:controller
rails-find:db                      rails-find:fixtures
rails-find:helpers                 rails-find:javascripts
rails-find:layout                  rails-find:lib
rails-find:migrate                 rails-find:models
rails-find:public                  rails-find:stylesheets
rails-find:tasks                   rails-find:view
rails-functional-test-minor-mode   rails-goto-file-on-current-line
rails-lib:run-primary-switch       rails-lib:run-secondary-switch
rails-log:open                     rails-log:open-development
rails-log:open-production          rails-log:open-test
rails-migration-minor-mode         rails-minor-mode
rails-model-layout:menu            rails-model-layout:switch-to-controller
rails-model-layout:switch-to-fixture
rails-model-layout:switch-to-mailer
rails-model-layout:switch-to-migration
rails-model-layout:switch-to-model
rails-model-layout:switch-to-unit-test
rails-model-minor-mode             rails-nav:goto-controllers
rails-nav:goto-fixtures            rails-nav:goto-functional-tests
rails-nav:goto-helpers             rails-nav:goto-javascripts
rails-nav:goto-layouts             rails-nav:goto-mailers
rails-nav:goto-migrate             rails-nav:goto-models
rails-nav:goto-observers           rails-nav:goto-plugins
rails-nav:goto-stylesheets         rails-nav:goto-unit-tests
rails-plugin-minor-mode            rails-plugin-minor-mode:switch-to-init
rails-plugin-minor-mode:switch-with-menu
rails-rake:migrate                 rails-rake:migrate-to-prev-version
rails-rake:migrate-to-version      rails-rake:task
rails-run-sql                      rails-script:breakpointer
rails-script:console               rails-script:create-project
rails-script:destroy               rails-script:destroy-controller
rails-script:destroy-mailer        rails-script:destroy-migration
rails-script:destroy-model         rails-script:destroy-observer
rails-script:destroy-plugin        rails-script:destroy-resource
rails-script:destroy-scaffold      rails-script:generate
rails-script:generate-controller   rails-script:generate-mailer
rails-script:generate-migration    rails-script:generate-model
rails-script:generate-observer     rails-script:generate-plugin
rails-script:generate-resource     rails-script:generate-scaffold
rails-script:output-mode           rails-script:toggle-output-window
rails-search-doc                   rails-speedbar:get-focus
rails-svn-status-into-root         rails-test:compilation-mode
rails-test:run                     rails-test:run-current
rails-test:run-current-method      rails-view-minor-mode
rails-view-minor-mode:create-helper-from-block
rails-view-minor-mode:create-partial-from-selection
rails-ws:auto-open-browser         rails-ws:open-browser
rails-ws:open-browser-on-controller
rails-ws:print-status              rails-ws:start
rails-ws:start-default             rails-ws:start-development
rails-ws:start-production          rails-ws:start-test
rails-ws:stop                      rails-ws:switch-default-server-type
rails-ws:toggle-start-stop</pre>
</blockquote>
<p><img src="http://rails20.jp/wp-content/uploads/2.jpg" alt="ピクチャ 2.png" height="371" width="480" /><br />
個人的によく使うのは、ビューとコントローラの切り替えと、ログ表示機能、ファイル表示機能などでしょうか。なお、個人的によくやる</p>
<blockquote><p>return render(:action =&gt; :index)</p></blockquote>
<p>のような記述の場合にC-Enterを押すと、&#8221;index)&#8221;までの認識になってしまいます。</p>
<blockquote><p>render :action =&gt; :index<br />
return</p></blockquote>
<p>の場合は問題ありません。Java開発を通じてEclipseの素晴らしさに触れている方はRadRailsを使われるケースも多いようですが、個人的には重たいように感じられてなりません。Emacsがごく軽いかと言われるとそうでもありませんが…。</p>
]]></content:encoded>
			<wfw:commentRss>http://rails20.jp/2008/03/emacs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
