<hat tip> My first contribution.

Thank you, Sir Bruno, for CE!

On Oct 3, 6:53 pm, Bruno Bornsztein <bruno.bornszt...@gmail.com>
wrote:
> Thanks! You saved me some work! Pushed this change a minute ago.
>
>
>
>
>
>
>
> On Mon, Oct 3, 2011 at 6:51 PM, d00n <mike.muld...@gmail.com> wrote:
> > Fixed! taggable_sweeper.rb needs this change, from:
>
> >  def expire_cache_for(record)
> >    # Expire the tag show pages
> >    record.tags.each do |tag|
> >      tag_url_value = tag_url(tag)
> >    end
> >  end
>
> > to:
>
> >  def expire_cache_for(record)
> >    # Expire the tag show pages
> >    record.tags.each do |tag|
> >      expire_action({:action=>"show", :controller=>"tags", :id =>
> > tag.id})
> >    end
> >  end
>
> > On Oct 2, 4:50 pm, mike muldoon <mike.muld...@gmail.com> wrote:
> > > Hello,
>
> > > When saving a post or photo, if
> > > config.action_controller.perform_caching = true, this error occurs:
>
> > > Started POST "/users/muldoon/posts" for 4.71.47.82 at 2011-10-02 18:53:35
> > -0400
> > >   Processing by PostsController#create as HTML
> > >   Parameters: {"utf8"=>"✓",
> > > "authenticity_token"=>"aE+zZ+O1f2f702jHWT0/kQIYUFS6WMi71iczQ+Gi058=",
> > > "post"=>{"game_id"=>"", "character_id"=>"", "category_id"=>"",
> > > "contest_id"=>"", "title"=>"test", "raw_post"=>"<p>test</p>",
> > > "published_as"=>"live"}, "tag_list"=>"", "poll"=>{"question"=>""},
> > > "choices"=>["", "", ""], "commit"=>"Save", "user_id"=>"muldoon"}
> > > <snip>
> > >   Tag Load (0.2ms)  SELECT `tags`.* FROM `tags` INNER JOIN `taggings`
> > > ON `tags`.`id` = `taggings`.`tag_id` WHERE `taggings`.`taggable_id` =
> > > 1 AND `taggings`.`taggable_type` = 'User'
> > >    (5.5ms)  ROLLBACK
> > > Completed 500 Internal Server Error in 217ms
>
> > > TypeError (can't convert Symbol into Integer):
>
> > > full trace:http://pastie.org/2629321
>
> > > I think acts_as_taggle_on_steroids is at fault, and I'm digging in
> > > that direction.
>
> > > Has anyone seen similar?
>
> > > thx!
> > > Mike
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "CommunityEngine" group.
> > To post to this group, send email to communityengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > communityengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/communityengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to communityengine@googlegroups.com.
To unsubscribe from this group, send email to 
communityengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to