LTe/acts-as-messageable — Issue #25: unable to do order by created_at 
Author: Bivek
Created: 2012-02-23 10:00:20+00:00
State: open

Even though i write
user.recieved_messages.order('created_at desc')

It produce the sql query

SELECT `messages`.* FROM `messages` WHERE `messages`.`received_messageable_id` = 21 AND `messages`.`received_messageable_type` = 'User' AND `messages`.`recipient_delete` = 0 ORDER BY created_at, created_at desc

why there is the first created_at in order by clause? It should be only ORDER BY created_at desc