[DataMapper] Restriction in dm-rails create/drop rake tasks

2010-07-02 Thread John E. Vincent
I was curious what the reason for the localhost restriction on dm:create and dm:drop in dm-rails. Padrino is actually using a port of the dm-rails rake tasks and, in the process of troubleshooting a different issue, I noticed this. I've made a pull request for the fix in the padrino dm rake tasks

[DataMapper] Re: Restriction in dm-rails create/drop rake tasks

2010-07-02 Thread John E. Vincent
E. Vincent lusis@gmail.com wrote: I was curious what the reason for the localhost restriction on dm:create and dm:drop in dm-rails. Padrino is actually using a port of the dm-rails rake tasks and, in the process of troubleshooting a different issue, I noticed this. I've made a pull

[DataMapper] Re: Restriction in dm-rails create/drop rake tasks

2010-07-02 Thread John E. Vincent
? On Jul 2, 3:01 pm, John E. Vincent lusis@gmail.com wrote: snusnu, 1) Is there any objection to changing it? I'll poke around and see why AR has the same restriction. 2) I probably wasn't clear. You could use a regular SQL call over tcp/ 3306 or unix socket to create the database as opposed