Sha256: 67ed9a104b1056ea7337ead22bb644a6ec7051bce865899887d080e6b32f6471
Contents?: true
Size: 1.56 KB
Versions: 4
Compression:
Stored size: 1.56 KB
Contents
<h1> Reflexive </h1> <div class="dashboard"> <% if defined?(ActiveRecord::Base) || defined?(ApplicationController) %> <div class="row"> <div class="column"> <% if defined?(ActiveRecord::Base) %> <h2>Models</h2> <div style="clear: both;"></div> <div class="content"> <%= content_tag(:pre, constants_list(ActiveRecord::Base, Reflexive.descendants(ActiveRecord::Base))) %> </div> <% end %> </div> <div class="column"> <% if defined?(ApplicationController) %> <h2>Controllers</h2> <%= content_tag(:pre, constants_list(ApplicationController, Reflexive.descendants(ApplicationController))) %> <% end %> </div> </div> <% end %> <div class="row"> <div class="column"> <h2>Favorites</h2> <% favorites = filter_existing_constants(%w(Rails ActiveSupport ActiveResource ActiveRecord ActionView ActionController ActionDispatch ActionMailer ActiveModel Sinatra DataMapper Sequel Rack Arel Capistrano Gem Haml Sass Hpricot Nokogiri Rack Rake Rcov RDoc)) %> <%= content_tag(:pre, constants_list(nil, favorites)) %> </div> <div class="column"> <h2>$LOAD_PATH</h2> <% $LOAD_PATH.sort.each do |path| %> <%= link_to_file(path) %><br/> <% end %> </div> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
reflexive-0.0.4 | views/dashboard.erb |
reflexive-0.0.3 | views/dashboard.erb |
reflexive-0.0.2 | views/dashboard.erb |
reflexive-0.0.1 | views/dashboard.erb |