Hi!
This bug was triggered somehow by factory_girl plugin. It disappeared
after removing one of the factories!
Anyway I'm going to make a test app when I'll have some time.


On May 30, 10:05 am, Pat Allan <[email protected]> wrote:
> On 28/05/2010, at 3:30 PM, Alexander Sviridov wrote:
>
> > The problem is with ordinary named scopes:
>
> > post.rb:
> >  CATEGORIES = [:ordinary, :silver, :golden, :brilliant]
>
> >  CATEGORIES.each {|c| named_scope(c, {:conditions => {:category => 
> > category_number(c)}})}
> >  named_scope :with_categories, :include => [:categories]
>
> > posts_controller:
> >  def golden
> >   �...@sticky_posts = 
> > @clan.posts.published.with_categories.golden.by_bumped_at.sticky.not_trashe­d
>
> > The code above fails.
> > Well, probably I should write script reproducing error...
>
> A test app that reproduces the issue would be fantastic. In the meantime, are 
> you able to send me (off-list, if you'd prefer) your model code?
>
> Cheers
>
> --
> Pat

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en.

Reply via email to