Every repository with this icon (
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue May 13 23:16:45 -0700 2008 | |
| |
ChangeLog | Tue Dec 09 01:24:28 -0800 2008 | |
| |
History | Sun Mar 02 13:09:58 -0800 2008 | |
| |
README.textile | Mon Nov 30 00:45:16 -0800 2009 | |
| |
behave-rails.el | Tue May 13 23:08:47 -0700 2008 | |
| |
inflections.el | Fri Sep 19 14:59:24 -0700 2008 | |
| |
predictive-prog-mode.el | Fri Apr 13 00:46:13 -0700 2007 | |
| |
rails-bytecompile.el | Fri Sep 19 15:52:16 -0700 2008 | |
| |
rails-cmd-proxy.el | Wed Feb 11 02:58:34 -0800 2009 | |
| |
rails-compat.el | Tue Aug 14 09:16:58 -0700 2007 | |
| |
rails-controller-layout.el | Tue Jun 09 05:00:38 -0700 2009 | |
| |
rails-controller-minor-mode.el | Tue Apr 03 01:45:46 -0700 2007 | |
| |
rails-core.el | Tue Sep 29 06:23:37 -0700 2009 | |
| |
rails-features.el | Wed Aug 15 11:41:32 -0700 2007 | |
| |
rails-find.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-fixture-minor-mode.el | Tue Apr 03 01:45:46 -0700 2007 | |
| |
rails-functional-test-minor-mode.el | Thu Apr 05 10:44:57 -0700 2007 | |
| |
rails-helper-minor-mode.el | Tue Apr 03 01:45:46 -0700 2007 | |
| |
rails-integration-test-minor-mode.el | Mon Jan 12 22:16:07 -0800 2009 | |
| |
rails-layout-minor-mode.el | Sat Mar 24 15:34:38 -0700 2007 | |
| |
rails-lib-layout.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-lib-minor-mode.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-lib.el | Fri Sep 26 04:16:52 -0700 2008 | |
| |
rails-log.el | Tue Apr 29 04:44:22 -0700 2008 | |
| |
rails-mailer-minor-mode.el | Tue Apr 03 01:45:46 -0700 2007 | |
| |
rails-migration-minor-mode.el | Tue Apr 03 01:45:46 -0700 2007 | |
| |
rails-model-layout.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-model-minor-mode.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-navigation.el | Wed Jun 10 02:21:09 -0700 2009 | |
| |
rails-plugin-minor-mode.el | Sat Mar 24 15:34:38 -0700 2007 | |
| |
rails-project.el | Fri Aug 24 05:57:59 -0700 2007 | |
| |
rails-rake.el | Wed Jun 17 15:55:19 -0700 2009 | |
| |
rails-refactoring.el | Tue Oct 13 08:34:41 -0700 2009 | |
| |
rails-rspec-controller-minor-mode.el | Tue Mar 03 00:51:19 -0800 2009 | |
| |
rails-rspec-fixture-minor-mode.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-rspec-lib-minor-mode.el | Tue Mar 03 00:51:19 -0800 2009 | |
| |
rails-rspec-minor-mode.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-rspec-model-minor-mode.el | Tue Mar 03 00:51:19 -0800 2009 | |
| |
rails-ruby.el | Tue Oct 20 04:15:16 -0700 2009 | |
| |
rails-scripts.el | Tue Sep 29 06:22:25 -0700 2009 | |
| |
rails-shoulda.el | Thu May 15 09:47:48 -0700 2008 | |
| |
rails-snippets-feature.el | Wed Jun 17 15:44:13 -0700 2009 | |
| |
rails-spec.el | Wed Dec 02 12:31:00 -0800 2009 | |
| |
rails-speedbar-feature.el | Fri Feb 27 00:57:35 -0800 2009 | |
| |
rails-test.el | Sat Jun 06 23:49:54 -0700 2009 | |
| |
rails-ui.el | Wed Dec 02 04:46:05 -0800 2009 | |
| |
rails-unit-test-minor-mode.el | Thu Apr 05 10:44:57 -0700 2007 | |
| |
rails-view-minor-mode.el | Wed Jul 01 00:24:54 -0700 2009 | |
| |
rails-ws.el | Tue Sep 01 06:15:12 -0700 2009 | |
| |
rails.el | Wed Dec 02 01:38:29 -0800 2009 |
It is minor mode for editing Ruby On Rails code with Emacs.
Features
- Navigation
Go from unit test to model to controller to functional test to view to spec etc. - Running tests and specs
Run test or spec for the current model, controller, lib etc. - Console and webserver
Run this console and webserver in a buffer. - Snippets
Use snippets to speedup code writing and editing.
Try C-h b to find out what key bindings are available and see M-x customize-group <RET> rails for all the knobs and switches.
Installation
Dependencies
Before you install this package make sure the following dependencies met:
- Ruby Mode
- Inferior Ruby Mode
All of these are installable via the ELPA.
Ruby mode doesn’t know about typical Ruby DSL files so you’ll need to give Emacs a hand:
(add-to-list 'auto-mode-alist '("\\.builder$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
Rails-minor-mode
Pull the latest version from github:
git clone git://github.com/remvee/emacs-rails.git ~/.emacs.d/rails-minor-mode
Hook it up in your .emacs or .emacs.d/init.el with something like:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/rails-minor-mode"))
(require 'rails)
You’re ready to go.
Extra’s
You can find HAML and SASS support via ELPA.
RHTML-mode
The latest from github:
git clone git://github.com/eschulte/rhtml.git ~/.emacs.d/rhtml-minor-mode
Hook it up:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/rhtml-minor-mode"))
(require 'rhtml-mode)
YAML-mode
Latest from subversion repo:
svn co http://svn.clouder.jp/repos/public/yaml-mode/trunk/ ~/.emacs.d/yaml-mode
Hook it up:
(add-to-list 'load-path (expand-file-name "~/.emacs.d/yaml-mode"))
(require 'yaml-mode)
Bugs
Yes! Plenty! And most of them known, ignored and yearning for your attention! Please fork this repository and fix the stuff that bothers you.
Credits
A big thanks to Dmitry Galinsky for starting this project. Since then a lot of people touched it too, checkout the commit logs.







