To create real primary key use t.primary_key "ida2a2".
Is it different from t.integer "ida2a2", :primary_key or "ida2a2", :primary_key => true . I tried both these things but they didnt set ida2a2 as primary key in table. t.primary_key "ida2a2" looks more appropriate. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

