github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

remvee / emacs-rails forked from tomtt/emacs-rails

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 34
    • 10
  • Source
  • Commits
  • Network (10)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Tomtt's version of the minor mode for editing RubyOnRails code in Emacs — Read more

  cancel

http://rubyforge.org/projects/emacs-rails/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

added snippet.el dependency 
remvee (author)
Sun Jan 17 08:34:52 -0800 2010
commit  c4328e8d37a28e420614274d01770a84b6c4b2ab
tree    fd792e208aa85c28c72366fa74fa8667d1af2eae
parent  b208f3d61d38ea3b9d44d738a78270a6a30ca90a
emacs-rails /
name age
history
message
file .gitignore Tue May 13 23:16:45 -0700 2008 Added a .gitignore to the repos [Tom ten Thij]
file ChangeLog Tue Dec 09 01:24:28 -0800 2008 cleanup the modeline code [Joost Diepenmaat]
file History Sun Mar 02 13:09:58 -0800 2008 Updated History git-svn-id: svn+ssh://rubyfor... [dimaexe]
file README.textile Mon Dec 07 06:17:31 -0800 2009 include note about ruby-elisp debian package [remvee]
file behave-rails.el Tue May 13 23:08:47 -0700 2008 Adding some functionality to rails-lib, experim... [Tom ten Thij]
file find-recursive.el Loading commit data...
file inflections.el Fri Sep 19 14:59:24 -0700 2008 [#13306] Defer construction of the inflections ... [vanicat]
file predictive-prog-mode.el Fri Apr 13 00:46:13 -0700 2007 README updated. git-svn-id: svn+ssh://rubyfor... [dimaexe]
file rails-bytecompile.el Fri Sep 19 15:52:16 -0700 2008 add current directory to load-path in rails-byt... [vanicat]
file rails-cmd-proxy.el Wed Feb 11 02:58:34 -0800 2009 Merge commit 'crazycode/master' [vanicat]
file rails-compat.el Tue Aug 14 09:16:58 -0700 2007 rails-compat.el (try-complete-abbrev): fixed ra... [dimaexe]
file rails-controller-layout.el Tue Jun 09 05:00:38 -0700 2009 fix rails-controller-layout:toggle-action-view ... [remvee]
file rails-controller-minor-mode.el Tue Apr 03 01:45:46 -0700 2007 rails-model-layout.el (rails-model-layout:keyma... [dimaexe]
file rails-core.el Tue Sep 29 06:23:37 -0700 2009 rails-core:model-file now also returns file nam... [remvee]
file rails-features.el
file rails-find.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-fixture-minor-mode.el Tue Apr 03 01:45:46 -0700 2007 rails-model-layout.el (rails-model-layout:keyma... [dimaexe]
file rails-functional-test-minor-mode.el Thu Apr 05 10:44:57 -0700 2007 rails.el (auto-mode-alist): added Rakefile to a... [dimaexe]
file rails-helper-minor-mode.el
file rails-integration-test-minor-mode.el
file rails-layout-minor-mode.el Sat Mar 24 15:34:38 -0700 2007 updated copyright added README git-svn-id: sv... [dimaexe]
file rails-lib-layout.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-lib-minor-mode.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-lib.el Fri Sep 26 04:16:52 -0700 2008 use sparse keymap we don't need full keymap as... [vanicat]
file rails-log.el Tue Apr 29 04:44:22 -0700 2008 Ability to specify number of lines initially sh... [Tom ten Thij]
file rails-mailer-minor-mode.el Tue Apr 03 01:45:46 -0700 2007 rails-model-layout.el (rails-model-layout:keyma... [dimaexe]
file rails-migration-minor-mode.el Tue Apr 03 01:45:46 -0700 2007 rails-model-layout.el (rails-model-layout:keyma... [dimaexe]
file rails-model-layout.el
file rails-model-minor-mode.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-navigation.el Wed Jun 10 02:21:09 -0700 2009 fix rails-nav:create-new-layout [remvee]
file rails-plugin-minor-mode.el
file rails-project.el Fri Aug 24 05:57:59 -0700 2007 * rails-spec.el: base support for rspec. Functi... [crazypit]
file rails-rake.el
file rails-refactoring.el Thu Dec 10 02:44:00 -0800 2009 allow namespace in ruby class names [remvee]
file rails-rspec-controller-minor-mode.el Tue Mar 03 00:51:19 -0800 2009 Merge commit 'remvee/master' into work Conflic... [crazycode]
file rails-rspec-fixture-minor-mode.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-rspec-lib-minor-mode.el
file rails-rspec-minor-mode.el
file rails-rspec-model-minor-mode.el Tue Mar 03 00:51:19 -0800 2009 Merge commit 'remvee/master' into work Conflic... [crazycode]
file rails-ruby.el Tue Oct 20 04:15:16 -0700 2009 fix for newer inf-ruby, second attempt [remvee]
file rails-scripts.el
file rails-shoulda.el Thu May 15 09:47:48 -0700 2008 whitespace cleanup [rmm5t]
file rails-snippets-feature.el Wed Jun 17 15:44:13 -0700 2009 add new snippet. [crazycode]
file rails-spec.el Wed Dec 02 12:31:00 -0800 2009 allow rails-spec:run-last to rerun rails-spec:r... [remvee]
file rails-speedbar-feature.el Fri Feb 27 00:57:35 -0800 2009 Modified emacs-rails for RSpec support Signed-o... [remvee]
file rails-test.el Sat Jan 16 16:10:11 -0800 2010 adding support for single quote to active suppo... [Marcos Toledo]
file rails-ui.el Wed Dec 02 04:46:05 -0800 2009 replace rails-spec:run-this-file by rails-spec:... [remvee]
file rails-unit-test-minor-mode.el Thu Apr 05 10:44:57 -0700 2007 rails.el (auto-mode-alist): added Rakefile to a... [dimaexe]
file rails-view-minor-mode.el Wed Jul 01 00:24:54 -0700 2009 fix create-partial-from-selection and create-he... [remvee]
file rails-ws.el Tue Sep 01 06:15:12 -0700 2009 turn on rails-minor-mode for rails-ws buffer [remvee]
file rails.el Sun Jan 17 08:33:06 -0800 2010 set "rake" as the compile-command [remvee]
file snippet.el Sun Jan 17 08:34:52 -0800 2010 added snippet.el dependency [remvee]
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.

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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server