2009/7/24 Hemant Bhargava <[email protected]>: > > The above method:- > > :order => 'day, time_start, time_end' is returning me records only in > day sorted.. This line is not sorting in context of time_start and > time_end .. > > :'(
Have a look in the rails log (in your application/log) and see what sql query is being used, this may give you a clue. If it looks correct check what type the time columns are. Colin --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

