Skip to content

Orienteer is a gem to help you trace routes in your rails app

License

Notifications You must be signed in to change notification settings

slowjud/Orienteer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orienteer can navigate through your rails app with little more than a compass and a map.

If you use magic, i.e. before filters or method missing, some routes might be shown as bad but really will work.

Orienteer is fast becoming a rails static analysis / refactoring tool. Its currently concentrating on the MVC but may expand in the future.

Just require ‘Orienteer’ and your ready to go.

There are some main routines you will probably want to use, they are all pretty self explanatory:

  • Orienteer.missing_controllers

  • Orienteer.missing_actions

  • Orienteer.missing_views

  • Orienteer.unused_named_routes

  • Orienteer.unused_actions

  • Standardise the return values

  • Find your obsolete routes

  • Find missing views

  • Find duplicate entries in the routes.rb

  • Find unreachable actions including following alias methods

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but

    bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright © 2009 Jude Sutton. See LICENSE for details.

About

Orienteer is a gem to help you trace routes in your rails app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages