Possible bug in RoR-2.3.8 wrt migrations

I have opened this ticket:


The problem does not occur with RoR-2.3.5

Basically, wherever I have defined an index in a migration the rake
db:migrate task throws this error:

-- add_index(:sessions, :session_id,
{:unique=>true, :name=>:idxr_sessions_session_id})
rake aborted!
An error has occurred, this and all later migrations canceled:

undefined method `length' for :idxr_sessions_session_id:Symbol

It seems it expects the index name to be a string, does it work if you
use a string?