There is no order i calculate_query so I guess you have set order in 
beginning_of_chain. You could override custom_finder_options for that, that 
method is not used in calculate_query

El Lunes, 9 de febrero de 2015 19:41:56 'Andrey Korobkov' via ActiveScaffold : 
Ruby on Rails Gem escribió:
> Hello, again
> 
> I've already made this work with unscope(:order) in default_scope,
> but order is still used in #calculate_query.
> https://github.com/activescaffold/active_scaffold/blob/master/lib/active_sca
> ffold/finder.rb#L423
> 
> Could you advice me a way to unscope it there?
> Also, could it be unscoped totally in calculations?
> Is ordering really necessary there?

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.
  • [Default scope or... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
    • Re: [Default... Sergio Cambra
      • Re: [Def... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
        • Re: ... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
    • Re: [Default... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
      • Re: [Def... Sergio Cambra
        • Re: ... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
          • ... Sergio Cambra
            • ... 'Andrey Korobkov' via ActiveScaffold : Ruby on Rails Gem
              • ... Sergio Cambra

Reply via email to