diaspora/diaspora — Issue #2223: stream page gives an error "ArgumentError in Multis#index"
Author: tawkoo
Created: 2011-10-21 23:05:07+00:00
State: open

Showing /Users/b/Projects/diaspora/app/views/shared/_stream_element.html.haml where line #6 raised:

wrong number of arguments(1 for 0)
Extracted source (around line #6):

3: -# the COPYRIGHT file.
4:
5:
6: .stream_element{:id => post.guid, :class => from_group(post)}
7: .right.controls
8: - if current_user && post.author.owner_id == current_user.id
9: = link_to image_tag('deletelabel.png'), post_path(post), :confirm => t('are_you_sure'), :method => :delete, :remote => true, :class => "delete stream_element_delete", :title => t('delete')
Trace of template inclusion: app/views/shared/_stream.haml, app/views/aspects/_aspect_stream.haml, app/views/aspects/index.html.haml

Rails.root: /Users/bilal/Projects/diaspora

Application Trace | Framework Trace | Full Trace
lib/stream/multi.rb:64:in `select'
lib/stream/multi.rb:64:in `community_spotlight_person_ids'
lib/stream/multi.rb:59:in `community_spotlight_post_ids'
lib/stream/multi.rb:37:in `is_in?'
lib/stream/multi.rb:30:in `block in post_from_group'
lib/stream/multi.rb:29:in `collect'
lib/stream/multi.rb:29:in `post_from_group'
app/helpers/interim_stream_hackiness_helper.rb:25:in `from_group'
app/views/shared/_stream_element.html.haml:6:in `_app_views_shared__stream_element_html_haml___4568580823477427443_70320296830360__806473207154085174'
app/views/shared/_stream.haml:5:in `_app_views_shared__stream_haml__343325716488336681_70320297418120__2395962511057975479'
app/views/aspects/_aspect_stream.haml:21:in `_app_views_aspects__aspect_stream_haml___2804692679453510202_70320308492740_3846553871178145878'
app/views/aspects/index.html.haml:41:in `_app_views_aspects_index_html_haml___986212277927648550_70320311823220_421972859711624567'
app/controllers/application_controller.rb:158:in `default_stream_action'
app/controllers/multis_controller.rb:5:in `index'
lib/chrome_frame.rb:39:in `call'