Rake?

Can a rake command create a Database (MySQL) from specifications in a
.yml file???

I am newbie and I don’t understand how rake works ?? I am using
windows…

Plz Help!!!

Regards,

Ujjwal


This e-mail communication and any attachments may be privileged and
confidential to Hexaware and are intended only for the
use of the recipients named above. If you are not the intended
recipient, please do not review, disclose, disseminate,
distribute or copy this e-mail and attachments. If you have received
this email in error, please delete the same alongwith
all attachments thereto and notify us immediately at
[email protected] .


On Jul 10, 2007, at 3:12 AM, Ujjwal T. wrote:

Plz Help!!!

Regards,

Ujjwal

In short: Yes.
ActiveRecord, the gem which is also a component of Ruby on Rails does
this with it’s migrations feature.
It could be a lot to learn to use it separately from Rails, but it is
certainly possible and people do it.
It is also fairly database agnostic, but use with MySQL is pretty
well google-able…

On Tue, Jul 10, 2007 at 10:26:55PM +0900, John J. wrote:

ActiveRecord, the gem which is also a component of Ruby on Rails does
this with it’s migrations feature.
It could be a lot to learn to use it separately from Rails, but it is
certainly possible and people do it.

Hi,

perhaps

O'Reilly Media - Technology and Business Training

helps…

Cheers

Bas


Bas van Gils [email protected], http://www.van-gils.org
[[[ Thank you for not distributing my E-mail address ]]]

Quod est inferius est sicut quod est superius, et quod est superius est
sicut
quod est inferius, ad perpetranda miracula rei unius.

On 7/15/07, Bas van Gils [email protected] wrote:

O'Reilly Media - Technology and Business Training

helps…

I hope you might have heard about ‘make’, which is a unix utility for
running tasks. Rake is its hip cousin in the sense, it can do
practically anything that “make” can do(and hence yes you can create
databases and what not) and much more.

There are couple of excellent docs available about rake:

http://docs.rubyrake.org/read/chapter/1

http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial

And if you feel fine then: