Sometimes ago I created database and a table in MySQL with these statements :
CREATE DATABASE amiref; USE amiref; CREATE TABLE refoo ( f1 VARCHAR(20) , f2 VARCHAR(30) NOT NULL , f3 INT , PRIMARY KEY(f1) ); CREATE TABLE IF NOT EXISTS users ( user_id1 VARCHAR(20) NOT NULL , user_id2 VARCHAR(50) , password VARCHAR(30) , email VARCHAR(50) , PRIMARY KEY(user_id1,user_id2) ); now I want to create those database and tables in ruby on rail with model. how can I do it? please help me. thanks -- Posted via http://www.ruby-forum.com/. -- 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.

