Hi, I need to create a migration that will populate data in my table. Table is like Column table (id, column_name, fa_module_id) column_name stores column name of the tables existing in our database for example I have a table Customer(id, first_name, last_name, age) then each row of Columns table can be used to store a single column information for the customer module one row can be (id = 1, column_name = "first_name", module_id(f.k.) Now I have to write a migration to automatically populate all the column name for the excisting tables in our database in rows of column table. Please help! Thanks and regards Sumeet -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.