code9ty/website

View on GitHub
doc/controllers_complete.svg

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
 -->
<!-- Title: controllers_diagram Pages: 1 -->
<svg width="616pt" height="596pt"
 viewBox="0.00 0.00 615.50 595.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(228 368)">
<title>controllers_diagram</title>
<polygon fill="none" stroke="none" points="-228,227.5 -228,-368 387.5,-368 387.5,227.5 -228,227.5"/>
<!-- _diagram_info -->
<g id="node1" class="node"><title>_diagram_info</title>
<text text-anchor="start" x="136" y="-191.6" font-family="Times,serif" font-size="13.00">Controllers diagram</text>
<text text-anchor="start" x="136" y="-177.6" font-family="Times,serif" font-size="13.00">Date: Nov 07 2016 &#45; 12:16</text>
<text text-anchor="start" x="136" y="-163.6" font-family="Times,serif" font-size="13.00">Migration version: 20160917082613</text>
<text text-anchor="start" x="136" y="-149.6" font-family="Times,serif" font-size="13.00">Generated by RailRoady 1.5.2</text>
<text text-anchor="start" x="136" y="-135.6" font-family="Times,serif" font-size="13.00">http://railroady.prestonlee.com</text>
</g>
<!-- CommentsController -->
<g id="node2" class="node"><title>CommentsController</title>
<path fill="none" stroke="black" d="M92,80C92,80 200,80 200,80 206,80 212,74 212,68 212,68 212,-76 212,-76 212,-82 206,-88 200,-88 200,-88 92,-88 92,-88 86,-88 80,-82 80,-76 80,-76 80,68 80,68 80,74 86,80 92,80"/>
<text text-anchor="middle" x="146" y="-72.8" font-family="Times,serif" font-size="14.00">CommentsController</text>
<polyline fill="none" stroke="black" points="80,-65 212,-65 "/>
<text text-anchor="start" x="88" y="-49.8" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="88" y="-34.8" font-family="Times,serif" font-size="14.00">edit</text>
<text text-anchor="start" x="88" y="-19.8" font-family="Times,serif" font-size="14.00">index</text>
<text text-anchor="start" x="88" y="-4.8" font-family="Times,serif" font-size="14.00">new</text>
<text text-anchor="start" x="88" y="10.2" font-family="Times,serif" font-size="14.00">update</text>
<polyline fill="none" stroke="black" points="80,18 212,18 "/>
<polyline fill="none" stroke="black" points="80,42 212,42 "/>
<text text-anchor="start" x="88" y="57.2" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="88" y="72.2" font-family="Times,serif" font-size="14.00">comment_params</text>
</g>
<!-- ContributionsController -->
<g id="node3" class="node"><title>ContributionsController</title>
<path fill="none" stroke="black" d="M92,223C92,223 214,223 214,223 220,223 226,217 226,211 226,211 226,127 226,127 226,121 220,115 214,115 214,115 92,115 92,115 86,115 80,121 80,127 80,127 80,211 80,211 80,217 86,223 92,223"/>
<text text-anchor="middle" x="153" y="130.2" font-family="Times,serif" font-size="14.00">ContributionsController</text>
<polyline fill="none" stroke="black" points="80,138 226,138 "/>
<text text-anchor="start" x="88" y="153.2" font-family="Times,serif" font-size="14.00">index</text>
<text text-anchor="start" x="88" y="168.2" font-family="Times,serif" font-size="14.00">new</text>
<polyline fill="none" stroke="black" points="80,176 226,176 "/>
<polyline fill="none" stroke="black" points="80,200 226,200 "/>
<text text-anchor="start" x="88" y="215.2" font-family="Times,serif" font-size="14.00">_layout</text>
</g>
<!-- ApplicantsController -->
<g id="node4" class="node"><title>ApplicantsController</title>
<path fill="none" stroke="black" d="M-67.5,111C-67.5,111 39.5,111 39.5,111 45.5,111 51.5,105 51.5,99 51.5,99 51.5,-75 51.5,-75 51.5,-81 45.5,-87 39.5,-87 39.5,-87 -67.5,-87 -67.5,-87 -73.5,-87 -79.5,-81 -79.5,-75 -79.5,-75 -79.5,99 -79.5,99 -79.5,105 -73.5,111 -67.5,111"/>
<text text-anchor="middle" x="-14" y="-71.8" font-family="Times,serif" font-size="14.00">ApplicantsController</text>
<polyline fill="none" stroke="black" points="-79.5,-64 51.5,-64 "/>
<text text-anchor="start" x="-71.5" y="-48.8" font-family="Times,serif" font-size="14.00">accept</text>
<text text-anchor="start" x="-71.5" y="-33.8" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="-71.5" y="-18.8" font-family="Times,serif" font-size="14.00">destroy</text>
<text text-anchor="start" x="-71.5" y="-3.8" font-family="Times,serif" font-size="14.00">index</text>
<text text-anchor="start" x="-71.5" y="11.2" font-family="Times,serif" font-size="14.00">new</text>
<text text-anchor="start" x="-71.5" y="26.2" font-family="Times,serif" font-size="14.00">show</text>
<polyline fill="none" stroke="black" points="-79.5,34 51.5,34 "/>
<polyline fill="none" stroke="black" points="-79.5,58 51.5,58 "/>
<text text-anchor="start" x="-71.5" y="73.2" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="-71.5" y="88.2" font-family="Times,serif" font-size="14.00">apply_params</text>
<text text-anchor="start" x="-71.5" y="103.2" font-family="Times,serif" font-size="14.00">check_intake_open</text>
</g>
<!-- BidsController -->
<g id="node5" class="node"><title>BidsController</title>
<path fill="none" stroke="black" d="M-164.5,-176.5C-164.5,-176.5 -91.5,-176.5 -91.5,-176.5 -85.5,-176.5 -79.5,-182.5 -79.5,-188.5 -79.5,-188.5 -79.5,-317.5 -79.5,-317.5 -79.5,-323.5 -85.5,-329.5 -91.5,-329.5 -91.5,-329.5 -164.5,-329.5 -164.5,-329.5 -170.5,-329.5 -176.5,-323.5 -176.5,-317.5 -176.5,-317.5 -176.5,-188.5 -176.5,-188.5 -176.5,-182.5 -170.5,-176.5 -164.5,-176.5"/>
<text text-anchor="middle" x="-128" y="-314.3" font-family="Times,serif" font-size="14.00">BidsController</text>
<polyline fill="none" stroke="black" points="-176.5,-306.5 -79.5,-306.5 "/>
<text text-anchor="start" x="-168.5" y="-291.3" font-family="Times,serif" font-size="14.00">assign</text>
<text text-anchor="start" x="-168.5" y="-276.3" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="-168.5" y="-261.3" font-family="Times,serif" font-size="14.00">destroy</text>
<text text-anchor="start" x="-168.5" y="-246.3" font-family="Times,serif" font-size="14.00">index</text>
<polyline fill="none" stroke="black" points="-176.5,-238.5 -79.5,-238.5 "/>
<polyline fill="none" stroke="black" points="-176.5,-214.5 -79.5,-214.5 "/>
<text text-anchor="start" x="-168.5" y="-199.3" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="-168.5" y="-184.3" font-family="Times,serif" font-size="14.00">bid_params</text>
</g>
<!-- SessionsController -->
<g id="node6" class="node"><title>SessionsController</title>
<path fill="none" stroke="black" d="M-211.5,-1C-211.5,-1 -116.5,-1 -116.5,-1 -110.5,-1 -104.5,-7 -104.5,-13 -104.5,-13 -104.5,-127 -104.5,-127 -104.5,-133 -110.5,-139 -116.5,-139 -116.5,-139 -211.5,-139 -211.5,-139 -217.5,-139 -223.5,-133 -223.5,-127 -223.5,-127 -223.5,-13 -223.5,-13 -223.5,-7 -217.5,-1 -211.5,-1"/>
<text text-anchor="middle" x="-164" y="-123.8" font-family="Times,serif" font-size="14.00">SessionsController</text>
<polyline fill="none" stroke="black" points="-223.5,-116 -104.5,-116 "/>
<text text-anchor="start" x="-215.5" y="-100.8" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="-215.5" y="-85.8" font-family="Times,serif" font-size="14.00">destroy</text>
<text text-anchor="start" x="-215.5" y="-70.8" font-family="Times,serif" font-size="14.00">new</text>
<polyline fill="none" stroke="black" points="-223.5,-63 -104.5,-63 "/>
<polyline fill="none" stroke="black" points="-223.5,-39 -104.5,-39 "/>
<text text-anchor="start" x="-215.5" y="-23.8" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="-215.5" y="-8.8" font-family="Times,serif" font-size="14.00">is_logged_in</text>
</g>
<!-- ApplicationController -->
<g id="node7" class="node"><title>ApplicationController</title>
<path fill="none" stroke="black" d="M252,80C252,80 364,80 364,80 370,80 376,74 376,68 376,68 376,-32 376,-32 376,-38 370,-44 364,-44 364,-44 252,-44 252,-44 246,-44 240,-38 240,-32 240,-32 240,68 240,68 240,74 246,80 252,80"/>
<text text-anchor="middle" x="308" y="-28.8" font-family="Times,serif" font-size="14.00">ApplicationController</text>
<polyline fill="none" stroke="black" points="240,-21 376,-21 "/>
<polyline fill="none" stroke="black" points="240,3 376,3 "/>
<polyline fill="none" stroke="black" points="240,27 376,27 "/>
<text text-anchor="start" x="248" y="42.2" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="248" y="57.2" font-family="Times,serif" font-size="14.00">admin?</text>
<text text-anchor="start" x="248" y="72.2" font-family="Times,serif" font-size="14.00">logged_in_user</text>
</g>
<!-- ProjectsController -->
<g id="node8" class="node"><title>ProjectsController</title>
<path fill="none" stroke="black" d="M-212,175C-212,175 -120,175 -120,175 -114,175 -108,169 -108,163 -108,163 -108,49 -108,49 -108,43 -114,37 -120,37 -120,37 -212,37 -212,37 -218,37 -224,43 -224,49 -224,49 -224,163 -224,163 -224,169 -218,175 -212,175"/>
<text text-anchor="middle" x="-166" y="52.2" font-family="Times,serif" font-size="14.00">ProjectsController</text>
<polyline fill="none" stroke="black" points="-224,60 -108,60 "/>
<text text-anchor="start" x="-216" y="75.2" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="-216" y="90.2" font-family="Times,serif" font-size="14.00">index</text>
<text text-anchor="start" x="-216" y="105.2" font-family="Times,serif" font-size="14.00">new</text>
<polyline fill="none" stroke="black" points="-224,113 -108,113 "/>
<polyline fill="none" stroke="black" points="-224,137 -108,137 "/>
<text text-anchor="start" x="-216" y="152.2" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="-216" y="167.2" font-family="Times,serif" font-size="14.00">project_params</text>
</g>
<!-- AssignmentsController -->
<g id="node9" class="node"><title>AssignmentsController</title>
<path fill="none" stroke="black" d="M252.5,-240.5C252.5,-240.5 371.5,-240.5 371.5,-240.5 377.5,-240.5 383.5,-246.5 383.5,-252.5 383.5,-252.5 383.5,-351.5 383.5,-351.5 383.5,-357.5 377.5,-363.5 371.5,-363.5 371.5,-363.5 252.5,-363.5 252.5,-363.5 246.5,-363.5 240.5,-357.5 240.5,-351.5 240.5,-351.5 240.5,-252.5 240.5,-252.5 240.5,-246.5 246.5,-240.5 252.5,-240.5"/>
<text text-anchor="middle" x="312" y="-348.3" font-family="Times,serif" font-size="14.00">AssignmentsController</text>
<polyline fill="none" stroke="black" points="240.5,-340.5 383.5,-340.5 "/>
<text text-anchor="start" x="248.5" y="-325.3" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="248.5" y="-310.3" font-family="Times,serif" font-size="14.00">new</text>
<polyline fill="none" stroke="black" points="240.5,-302.5 383.5,-302.5 "/>
<polyline fill="none" stroke="black" points="240.5,-278.5 383.5,-278.5 "/>
<text text-anchor="start" x="248.5" y="-263.3" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="248.5" y="-248.3" font-family="Times,serif" font-size="14.00">assignment_params</text>
</g>
<!-- StaticPagesController -->
<g id="node10" class="node"><title>StaticPagesController</title>
<path fill="none" stroke="black" d="M92,-240.5C92,-240.5 202,-240.5 202,-240.5 208,-240.5 214,-246.5 214,-252.5 214,-252.5 214,-321.5 214,-321.5 214,-327.5 208,-333.5 202,-333.5 202,-333.5 92,-333.5 92,-333.5 86,-333.5 80,-327.5 80,-321.5 80,-321.5 80,-252.5 80,-252.5 80,-246.5 86,-240.5 92,-240.5"/>
<text text-anchor="middle" x="147" y="-318.3" font-family="Times,serif" font-size="14.00">StaticPagesController</text>
<polyline fill="none" stroke="black" points="80,-310.5 214,-310.5 "/>
<text text-anchor="start" x="88" y="-295.3" font-family="Times,serif" font-size="14.00">home</text>
<polyline fill="none" stroke="black" points="80,-287.5 214,-287.5 "/>
<polyline fill="none" stroke="black" points="80,-263.5 214,-263.5 "/>
<text text-anchor="start" x="88" y="-248.3" font-family="Times,serif" font-size="14.00">_layout</text>
</g>
<!-- UsersController -->
<g id="node11" class="node"><title>UsersController</title>
<path fill="none" stroke="black" d="M-35.5,-113C-35.5,-113 43.5,-113 43.5,-113 49.5,-113 55.5,-119 55.5,-125 55.5,-125 55.5,-299 55.5,-299 55.5,-305 49.5,-311 43.5,-311 43.5,-311 -35.5,-311 -35.5,-311 -41.5,-311 -47.5,-305 -47.5,-299 -47.5,-299 -47.5,-125 -47.5,-125 -47.5,-119 -41.5,-113 -35.5,-113"/>
<text text-anchor="middle" x="4" y="-295.8" font-family="Times,serif" font-size="14.00">UsersController</text>
<polyline fill="none" stroke="black" points="-47.5,-288 55.5,-288 "/>
<text text-anchor="start" x="-39.5" y="-272.8" font-family="Times,serif" font-size="14.00">create</text>
<text text-anchor="start" x="-39.5" y="-257.8" font-family="Times,serif" font-size="14.00">dashboard</text>
<text text-anchor="start" x="-39.5" y="-242.8" font-family="Times,serif" font-size="14.00">index</text>
<text text-anchor="start" x="-39.5" y="-227.8" font-family="Times,serif" font-size="14.00">new</text>
<text text-anchor="start" x="-39.5" y="-212.8" font-family="Times,serif" font-size="14.00">pride</text>
<text text-anchor="start" x="-39.5" y="-197.8" font-family="Times,serif" font-size="14.00">show</text>
<polyline fill="none" stroke="black" points="-47.5,-190 55.5,-190 "/>
<polyline fill="none" stroke="black" points="-47.5,-166 55.5,-166 "/>
<text text-anchor="start" x="-39.5" y="-150.8" font-family="Times,serif" font-size="14.00">_layout</text>
<text text-anchor="start" x="-39.5" y="-135.8" font-family="Times,serif" font-size="14.00">correct_user</text>
<text text-anchor="start" x="-39.5" y="-120.8" font-family="Times,serif" font-size="14.00">user_params</text>
</g>
</g>
</svg>