Frederick Cheung wrote:
> On May 16, 6:09�pm, Neil Bye <[email protected]> wrote:
> 
>> Can anybody tell me where the div, that splits submitted from comments,
>> appears from?
> 
> What does the post partial & generated html look like ? Could you have
> forgotten to close a tag or something like that ?
> 
> Fred
Hope this helps

I've attached the generated html.
The partials are defined in this extract from user_controller.rb
def show
    @user = User.find(params[:id])
    @posts_submitted = @user.posts.find(:all,
        :limit => 6, :order => 'posts.id DESC')
    @posts_commented_on = @user.posts_commented_on.find(:all,
        :limit => 2, :order => 'comments.id DESC')
  end
How can it create a div in the middle of a find operation?

Attachments:
http://www.ruby-forum.com/attachment/4739/index.html.erb

-- 
Posted via http://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 [email protected].
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