CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 00:15:31 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090302183701
location: https://web.archive.org/web/20090302183701/https://github.com/ddollar/railroad/tree
server-timing: captures_list;dur=0.865342, exclusion.robots;dur=0.032738, exclusion.robots.policy;dur=0.019522, esindex;dur=0.015205, cdx.remote;dur=12.280006, LoadShardBlock;dur=325.978791, PetaboxLoader3.datanode;dur=39.546676, PetaboxLoader3.resolve;dur=80.020649
x-app-server: wwwb-app202
x-ts: 302
x-tr: 380
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app202; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Wed, 06 Aug 2025 00:15:32 GMT
content-type: text/html; charset=utf-8
content-length: 112
x-archive-orig-server: nginx/0.6.31
x-archive-orig-date: Mon, 02 Mar 2009 18:37:00 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--884981fc5aa85daf318eeff084d98e2cff92578f; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090302183701/https://github.com/ddollar/railroad/tree/master
x-archive-orig-x-runtime: 103ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 112
cache-control: max-age=1800
memento-datetime: Mon, 02 Mar 2009 18:37:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 02 Mar 2009 18:37:01 GMT", ; rel="memento"; datetime="Mon, 02 Mar 2009 18:37:01 GMT", ; rel="last memento"; datetime="Mon, 02 Mar 2009 18:37:01 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090302142605_crawl102-c/52_8_20090302183448_crawl101.arc.gz
server-timing: captures_list;dur=0.655909, exclusion.robots;dur=0.032922, exclusion.robots.policy;dur=0.020878, esindex;dur=0.015441, cdx.remote;dur=14.439895, LoadShardBlock;dur=825.673835, PetaboxLoader3.datanode;dur=741.692241, PetaboxLoader3.resolve;dur=148.233053, load_resource;dur=155.691485
x-app-server: wwwb-app202
x-ts: 301
x-tr: 1020
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 00:15:33 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Mon, 02 Mar 2009 18:37:01 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--884981fc5aa85daf318eeff084d98e2cff92578f; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 342ms
x-archive-orig-etag: "b9d1a0f4e4a6d361b0aa914d1a4350fd"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 27257
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Mon, 02 Mar 2009 18:37:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 02 Mar 2009 18:37:01 GMT", ; rel="memento"; datetime="Mon, 02 Mar 2009 18:37:01 GMT", ; rel="next memento"; datetime="Wed, 09 Jun 2010 02:42:11 GMT", ; rel="last memento"; datetime="Fri, 23 Jul 2021 10:50:05 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_8_20090302142605_crawl102-c/52_8_20090302183448_crawl101.arc.gz
server-timing: captures_list;dur=0.644002, exclusion.robots;dur=0.030030, exclusion.robots.policy;dur=0.017117, esindex;dur=0.015018, cdx.remote;dur=13.305834, LoadShardBlock;dur=159.210349, PetaboxLoader3.datanode;dur=255.521731, PetaboxLoader3.resolve;dur=149.481256, load_resource;dur=274.222119
x-app-server: wwwb-app202
x-ts: 200
x-tr: 529
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
ddollar's railroad at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install ddollar-railroad
Fork of terotil/railroad | |
Description: | Railroad gem becomes a Rails plugin |
Clone URL: |
git://github.com/ddollar/railroad.git
Give this clone URL to anyone.
git clone git://github.com/ddollar/railroad.git
|
commit 7c6d7314b3286ac0569bfca156b0ad34ad96329f
tree ad46c1b657c783a31c4bb86abd0dca472fc30691
parent 977197ae50eec76db028932de8fc64aa21249879
tree ad46c1b657c783a31c4bb86abd0dca472fc30691
parent 977197ae50eec76db028932de8fc64aa21249879
railroad /
= RailRoad RailRoad generates models and controllers diagrams in DOT language for a Rails application. = Usage Run RailRoad on the Rails application's root directory. You can redirect its output to a .dot file or pipe it to the dot or neato utilities to produce a graphic. Model diagrams are intended to be processed using dot and controller diagrams are best processed using neato. railroad [options] command == Options Common options: -b, --brief Generate compact diagram (no attributes nor methods) -e, --exclude file1[,fileN] Exclude given files -c, --class-map file1,MyClass1[,fileN,MyClassN] Map files to classes they contain -i, --inheritance Include inheritance relations -l, --label Add a label with diagram information (type, date, migration, version) -o, --output FILE Write diagram to file FILE -v, --verbose Enable verbose output (produce messages to STDOUT) Models diagram options: -a, --all Include all models (not only ActiveRecord::Base derived) --hide-magic Hide magic field names --hide-types Hide attributes type -j, --join Concentrate edges -m, --modules Include modules -p, --plugins-models Include plugins models -y, --libraries Include application library -t, --transitive Include transitive associations (through inheritance) Controllers diagram options: --hide-public Hide public methods --hide-protected Hide protected methods --hide-private Hide private methods Other options: -h, --help Show this message --version Show version and copyright == Commands -M, --models Generate models diagram -C, --controllers Generate controllers diagram -A, --aasm Generate "acts as state machine" diagram == Examples railroad -o models.dot -M Produces a models diagram to the file 'models.dot' railroad -a -i -o full_models.dot -M Models diagram with all classes showing inheritance relations railroad -M | dot -Tsvg > models.svg Model diagram in SVG format railroad -C | neato -Tpng > controllers.png Controller diagram in PNG format railroad -h Shows usage help = Processing DOT files To produce a PNG image from model diagram generated by RailRoad you can issue the following command: dot -Tpng models.dot > models.png If you want to do the same with a controller diagram, use neato instead of dot: neato -Tpng controllers.dot > controllers.png If you want to produce SVG (vectorial, scalable, editable) files, you can do the following: dot -Tsvg models.dot > models.svg neato -Tsvg controllers.dot > controllers.svg Important: There is a bug in Graphviz tools when generating SVG files that cause a text overflow. You can solve this problem editing (with a text editor, not a graphical SVG editor) the file and replacing around line 12 "font-size:14.00;" by "font-size:11.00;", or by issuing the following command (see "man sed"): sed -i 's/font-size:14.00/font-size:11.00/g' file.svg sed -i 's/font-size:14.00/font-size:11px/g' file.svg # alternative Note: For viewing and editing SVG there is an excellent opensource tool called Inkscape (similar to Adobe Illustrator. For DOT processing you can also use Omnigraffle (on Mac OS X). = RailRoad as a rake task See tasks/diagrams.rake = Requirements RailRoad has been tested with Ruby 1.8.5 and Rails 1.1.6 to 1.2.3 applications. There is no additional requirements (nevertheless, all your Rails application requirements must be installed). In order to view/export the DOT diagrams, you'll need the processing tools from Graphviz. = Website and Project Home https://railroad.rubyforge.org = License RailRoad is distributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. = Author Javier Smaldone (javier -at- smaldone -dot- com -dot- ar, https://blog.smaldone.com.ar ) == Contributors Thomas Ritz https://www.galaxy-ritz.de Tien Dung https://github.com/tiendung Factory Design Labs https://github.com/factorylabs Mike Mondragon https://github.com/monde Tero Tilus https://github.com/terotil
This feature is coming soon. Sit tight!