Skip to main content

Thread: mysql db creation for usage in rubyonrails in ubuntu


topic: mysql db creation ruby on rails usage in ubuntu

hi there
first post. pardon me if there mistakes.
have installed ubuntu 10.04 lucid
, rails
here screen output ubuntu (guest ubuntu. host winxp)
root@ubu***-laptop:/home/myuser/www/myapp# rails -v
rails 2.3.8
root@ubu***-laptop:/home/myuser/www/myapp# ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]
have installed mysql.
have installed mysql workbench create mysql data model , create mysql table creation scripts.
prefer generate db creation scripts way keep them separate design purposes.
here q.
u recommend script/generate generate tables in mysql or u recommend way of keeping create tables script separate via anytool / text file.
in advance.

you should take @ migrations. these convenient way specify model structure. migrations lets experiment because can rollback previous model versions , db independent, you're not bound mysql (as manual creation scripts). imho migrations way go here

php code:
script/generate migration 

check out rails guides, docs , some railscasts more detailed guidance


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk mysql db creation for usage in rubyonrails in ubuntu


Ubuntu

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO