Hi rails people, I just put up a script for viewing the methods of classes under app/. This is useful for getting a handy summary of these classes, perhaps for note taking. Read about it here: http://www.chwhat.com/articles/2005/11/14/ Download the script from : http://www.chwhat.com/files/overview.rb Simply drop the script under script/. Run it and get output as shown at end of this email. In the somewhat-related subject of handy scripts for getting an overview of a rails app, I'm looking for a ruby-based schema image generator. Anyone have such a script they'd be willing to share? I found a relevant post using graphviz but the script is unavailable: http://article.gmane.org/gmane.comp.lang.ruby.rail... Gabriel ====Sample output for snippets rails app at http://www.bigbold.com/snippets=== controllers UserController: - show PostsController: - create - destroy - edit - index - show - update TagController: - show ApplicationController: - admin_or_post_owner - check_if_visitor_allowed - get_page_number - get_related_posts - get_tag_info - get_user_info - is_ticketed - redirect_back - store_locations LoginController: - account - create - login - logout - new - update CommentsController: - create helpers TagsHelper:  LoginHelper:  UserHelper:  PostsHelper:  CommentsHelper:  ApplicationHelper: - niceify_html - niceify_html_for_rss - page_title - rounded_box_bottom - rounded_box_top - tag_link models Comment:  User: - authenticate - change_password - crypt_password - find_with_count - "isAdmin?" - "isAdmin?" - sha1 Tag: - find_all_with_count - find_all_with_count_for_tags - find_all_with_count_for_user - find_by_name_with_count Post: - find_related_posts - pagetitle - tagsspaced - tagsspaced= === END of output=== -- Check out at my website at http://www.chwhat.com IF mail to chwhat.com bounces, send it instead to firstname.lastname@example.org Peace.
on 2005-11-15 08:30