On Dec 3, 1:59 pm, Martyn Elmy-liddiard <[EMAIL PROTECTED]
s.net> wrote:
>
> <% @docversions.each do |docv| %>
> <tr>
> <td><% docv.modifier %></td>
> <td><%= docv.comment %></td>
> <td><%= docv.policy.PolicyName if docv.policy_id %></td>
> <td><%= docv.standard.StandardsName if docv.standard_id %></td>
>
> Can someone advise the syntax to use in the view to achieve this. I have
> also tried ....."if !docv.standard_id.empty?".
>

don't think you need anything more than if docv.policy

Fred
> Thanks
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to