search for: nomesinstit

Displaying 1 result from an estimated 1 matches for "nomesinstit".

2010 Jul 09
2
Template is missing.... but it is there!
...or the first institution and two names for the last. Then I created this controller: class ServInstitController < ApplicationController def index @instit = Instit.find(:all, :order => ''created_at asc'') end def shownames instit_ident = params[:instit_id] @nomesinstit = NomeInstit.find_all_by_instit_id(instit_ident) end end And I created this view "index": <h3>Serviços relacionados à instituições</h3> <br /> <% if @instit.nil? == false and @instit.length > 0 %> <table> <tr> <th>ID</th>...