similar to: Rake (default task) overwrites development database?

Displaying 20 results from an estimated 10000 matches similar to: "Rake (default task) overwrites development database?"

2005 Dec 26
0
Help - Overwrote database
Hey all. Hope you can help with this. I was running "rake" to run tests on my server we are setting up for production. I''m currently entering all my data into the dev database. After running "rake", my dev database looked just like my test database. It overwrote all my data??!!?? I was using the same db for production and development if that matters. My database.yml
2006 Jun 28
1
Is there a rake task to extract data from a database/table
I know I can get the schema by running rake db_schema_dump but, is there a way to ge the data from a table or a database into a format that can be quickly converted to a migration. What I''m really trying to do is synch my local development database (schema and data) with the db on my hosting service. -- Best Regards, -Larry "Work, work, work...there is no satisfactory
2007 Jul 26
0
Rake task database to XML export
Hi all... I am a new bie of ruby rails. i was working with some task to get a database table to be exported in to an XMLFile. I need to write a raketask for that. Can some one please help me with some good stuff having with you regarding the rake task file written to do that dbtable to xml file file conversions. Please help me with some sample code or links Thanks to all in advance --
2007 Jul 12
1
Rails database backup & restore plugin or rake task
Hi, Searching in internet finds me mysql specific things and outdated rake tasks. I want a portable one. So using postgresql database, I want to dump my db data into a file. Then I want to load the file into mysql database. Any one know where I can find one? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
2006 Apr 04
3
small question about the relevance of the "database schema has changed"
I have developed 3 small applications using rails (nothing production worthy, just some small stuff "prototype" style). And I often end up changing my database scheme in the middle of development. I also use "script/generate scaffold" (this is somehow relevant to my question). Whenever I change my database schema I end up having to regenerate the scaffold. In the past this
2013 Nov 06
4
[Bug 2168] New: Fails to build after arc4random API change in OpenBSD
https://bugzilla.mindrot.org/show_bug.cgi?id=2168 Bug ID: 2168 Summary: Fails to build after arc4random API change in OpenBSD Product: Portable OpenSSH Version: -current Hardware: All OS: OpenBSD Status: NEW Severity: minor Priority: P5 Component: Build system Assignee:
2008 Mar 28
3
Major rsync issue - overwriting files!!!
Hi, I'm having a MAJOR issue with an rsync backup script that is actually OVERWRITING the files that it should be backing up! The thing is, the same script (with different source/destination variables) runs FLAWLESSLY on another file server! Background: 2 OS X client computers running 10.4.11 (1 intel, 1 PPC). both are running rsync v2.6.3. rsync is backing up from one firewire HD(afp
2018 Nov 30
0
Dovecot crash
Exactly - I removed then with find . -name "dovecot.index*" -type f -delete There is no need to restart dovecot. IMAP client will be forced to resync all the emails from the server. > Le 28 nov. 2018 ? 23:20, JCA <1.41421 at gmail.com <mailto:1.41421 at gmail.com>> a ?crit : > > Thanks. Assuming that the IMAP mail directory for the account affected is under
2018 Nov 30
1
Dovecot crash
Thanks. Unfortunately, that made no difference. On Fri, Nov 30, 2018 at 1:20 PM Thomas Durand <tom at rezoo.org> wrote: > Exactly - I removed then with > *find* . -name "dovecot.index*" -type f -delete > > There is no need to restart dovecot. IMAP client will be forced to resync > all the emails from the server. > > > Le 28 nov. 2018 ? 23:20, JCA
2006 Mar 21
0
is "Task" a reserved class name in Edge Rails? (it clashes with Rake''s Task)
Ok, so I''ll bet that lots of people would naturally have a DB table called "Tasks" and a model called Task, and this works fine in Rails 1.0. BUT, using Edge Rails things turn strange when you start visiting your Task pages because it thinks that you''re trying to use Rake (which also has a Task class). Is there any way around this? -Greg Greg Edwards CTO,
2011 Jul 10
2
grey colored lines and overwriting labels i qqplot2
I created this graph in ggplot and added ablines to the different facets by specifying with subset commands. As you might see, there are still a few issues. 1.) I would like to have the diamonds in a grey scale instead of colors. I accomplished this (see graph 2) until I overwrote the label title for the treatments and the colors came back (graph 1). I used these two commands: p=ggplot(data =
2013 Jul 01
0
Rake task like "rake cache_digests:dependencies" for Rails 4?
The cache_digests gem has the "rake cache_digests:dependencies" task for checking template dependencies. Since Rails 4 includes this caching scheme by default, should it include a similar rake task? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send
2013 Feb 26
1
How to avoid overlapping labels
Hi Remko, thanks for your answer. but i do not really understand how to use the commands. if i want to use thigmophobe.labels(x,y,) do i need to identify the xy coordinates for each point first and then manually move every point? and if i neet to do so how to use the identify() function? or is there any possibility to automatically place the labels in the best position? >MatArab <-
2013 Feb 28
0
Rake tasks db:test:prepare cannot be executed in the same task of db:reset or db:migrate
Hey all, I''m trying to create a task that prepare the environment to start programming. To do so, I created a task like this *task :setup_env => [''db:reset'', ''db:migrate'', ''db:test:prepare'']* and observed that after execute * rake setup_env*, it never execute db:test:prepare properly. In order to get the schema cloned to test db,
2006 Oct 22
0
[705] trunk/wxruby2/rake/rakedocs.rb: Add rake task to publish docs to wxruby website (Alex Fenton)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Oct 12
0
Speccing a rake task
Greetings, I''m writing a custom rake task, and I''d like to write an assosciated spec for it. Does anyone have an example spec for a rake task? I''ve seen some examples on the web that use these before blocks: before(:each) do @rake = Rake::Application.new Rake.application = @rake end And use @rake["db:user_migration"].invoke To invoke the
2007 Nov 01
0
Heckle rake task
Fellow hecklers, Just spent a while getting this working. Turns out heckle will heckle a whole module and sub-modules with one call, so with a bit of string matching, you can build a nice tool to heckle your whole app and report any failures. Was going to post to the list, as the first version was about 4 lines long, but I''ve embellished it slightly (I got carried away), so
2006 Aug 06
0
Best practice: installing plugin assets in rake task or install.rb?
I noticed that a few plugins come with rake tasks to install additional assets. In Rails 1.1.4 there''s a hook file, install.rb, that is run when after the plugin has been installed (edge Rails has uninstall.rb, too). Wouldn''t it be nicer to use this (these) hooks to install (remove) plugin specific files automatically? Preferrably existing (different) files are overwritten
2006 May 09
2
Disabling FOREIGN KEYs in a Rake task
Hi, How could I disable my database FOREIGN KEYs in a Rake task? Or, how could I call the execute() method in a Rake task? I''m trying to perform something like: task :delete_the_cippalippa => :environment do require RAILS_ROOT+''/lib/marsian.rb'' # FIXME: execute() is undefined execute "SET FOREIGN_KEY_CHECKS = 0" Cippalippa.delete(-1)
2006 May 11
0
Using action view helpers (strip_tags) in a rake task?
Hi all - I''ve got a rake task that migrates some old data (simple, loop through the old stuff, modify it a bit, and save it to the new system). That all works great. However, I''d like to use strip_tags() to remove all HTML from some of the fields I''m converting, but I can''t figure out how to include/use/require/load/etc the right stuff to make this work.