Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tomtt's version of the minor mode for editing RubyOnRails code in Emacs
branch: master

This branch is 76 commits behind remvee:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
ChangeLog
History
README.textile
behave-rails.el
find-recursive.el
inflections.el
predictive-prog-mode.el
rails-bytecompile.el
rails-cmd-proxy.el
rails-compat.el
rails-controller-layout.el
rails-controller-minor-mode.el
rails-core.el
rails-features.el
rails-find.el
rails-fixture-minor-mode.el
rails-functional-test-minor-mode.el
rails-helper-minor-mode.el
rails-integration-test-minor-mode.el
rails-layout-minor-mode.el
rails-lib-layout.el
rails-lib-minor-mode.el
rails-lib.el
rails-log.el
rails-mailer-minor-mode.el
rails-migration-minor-mode.el
rails-model-layout.el
rails-model-minor-mode.el
rails-navigation.el
rails-plugin-minor-mode.el
rails-project.el
rails-rake.el
rails-refactoring.el
rails-rspec-controller-minor-mode.el
rails-rspec-fixture-minor-mode.el
rails-rspec-lib-minor-mode.el
rails-rspec-minor-mode.el
rails-rspec-model-minor-mode.el
rails-ruby.el
rails-scripts.el
rails-shoulda.el
rails-snippets-feature.el
rails-spec.el
rails-speedbar-feature.el
rails-test.el
rails-ui.el
rails-unit-test-minor-mode.el
rails-view-minor-mode.el
rails-ws.el
rails.el
snippet.el

README.textile

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

These are installable via the ELPA or using apt-get install ruby-elisp. Some Emacs distributions include them by default.

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.

Something went wrong with that request. Please try again.