On 21 October 2010 20:39, Ray Ray <[email protected]> wrote: > Thank you, Rajinder Yadav! > > This is exactly the thing i locked for. Now i typed in this > object-creating in the migration and it works.
Note that it is not a good idea to rely on the id of a record having a particular value (1 in this case). If you want a field containing a meaningful number then add another field to contain that number. 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.

