That's not any clearer - you're still just giving code examples. Like, with the two examples there, you don't say if either of them gives the results you want, and if they don't why not.
This: :order => "catalogues.name!='#...@name}', catalogues.name" doesn't even make sense to me - i'm amazed that you get any result back at all from it. Say something like "I want to find all catalogues matching a given name, order them by name and then list their products" or whatever it is you're actually trying to do. -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---