app/views/railstar/general/code.html.erb in railstar-0.0.10 vs app/views/railstar/general/code.html.erb in railstar-0.0.11

- old
+ new

@@ -15,11 +15,12 @@ <% @codes.each do |code| %> <a name="<%= code %>"></a><h2><%= code %></h2> <table class="table table-bordered table-condensed"> <thead> <tr> + <% sample = C.send(code).values.first %> <% C.send(code).headers.each do |c| %> - <th><%= c %></th> + <th><%= c %>:<%= sample.send(c).class.to_s %></th> <% end %> </tr> </thead> <tbody> <% C.send(code).values.each do |record| %>