SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2006
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SOLVED] render :collection

    Hi

    Im using this command

    Code:
    <% if !@brief_images.empty? %>
         <%= render :partial => 'brief_image', :collection => @brief_images, 
            :locals => { :hidden => false } %>
    <% end %>
    I am just wondering how I would access the current object in that is being rendered within '_brief_image.rhtml'

    alistair
    Last edited by alistair_b; May 30, 2006 at 17:10. Reason: add solved to summary


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •