Displaying 20 results from an estimated 10000 matches similar to: "Rake task database to XML export"
2010 Nov 06
2
Custom File List for Rails 3 Spec Task
I have some javascript specs (using the jspec javascript framework) in my rails 3 project, living in the spec/javascript directory. How can I exclude the ruby files in the jspec project from being run when I run "rake spec"?
RSpec::Core::RakeTask used to take a file list (which was usually generated with a glob pattern and an explicit call to Dir.glob). Now it only takes a glob
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months,
and I installed edge rspec so that I can use Story Runner.
I''m running into a problem because I''ve got a couple rake tasks that
reference "spec/rake/raketask". If I try to run "rake spec" then it
pulls in the gem version instead of the plugin version. rake blows up
saying that
2010 Nov 03
3
Rake task for focused examples
Hi,
Is it possible to make a rake task to run examples with a certain
filter on? In this case I want to run rake spec:focused and run only
the examples with :focus => true.
- Toni
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
2005 Dec 26
0
Rake (default task) overwrites development database?
I changed the subject to be more appropriate. Any idea why the
development database would be effected?
On 12/26/05, Ryan Wood <ryan.wood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> 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
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
2005 May 27
1
xmlAttrs and problems with reading node attributes of XML file (b ug?)
Hi,
Consider the following code:
require(XML)
xmlFile = paste( "<?xml version=\"1.0\"
encoding=\"ISO-8859-1\"?>\n",
"<mzXML xmlns=\"a\" xmlns:xsi=\"b\"
xsi:schemaLocation=\"c\">\n",
"<parentFile a=\"a\" b=\"b\" />\n",
2006 Mar 23
4
XML parser fixed
Hi, I changed the XML parser who have been write by Greg (Gregory Hill)
and changed some things.
It did not work in IE and Safari and opera.
I fixed some bugs. Now it works fine in IE, Safari, Firefox and Opera.
/* --------------------------------------- */
XMLParser = Class.create();
Object.extend(XMLParser.prototype,
{
initialize: function (XMLFile, options)
{
2010 Aug 13
0
some helpful tips on using RODBC
Hey everyone,
I don't have a question. Instead some helpful advice with things I've
learned from trying to connect 'R' to databases using RODBC.
ROBDC is a very handy tool that, once you have everything fixed up
nicely, is a great way to have scripts run fairly autonomously, safe in the
knowledge that data isn't accidentally messed up. But I was fairly ignorant
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
2009 Dec 14
1
AGI with PHP
Hi All,
I'm having problems getting results from a PHP file. This is what the CLI is showing.
-- Executing [111 at internal:1] AGI("Console/dsp", "GoTalk.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/GoTalk.php
[Dec 14 11:57:25] ERROR[20260]: utils.c:1019 ast_carefulwrite: write() returned error: Broken pipe
If I run the PHP file from
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:
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,
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,
2007 Dec 26
2
How to set environment when calling rake task inside another
This is what I have inside a rake task. In this rake task I need to call
another rake task called email:send_messages. However I need to pass the
RAILS_ENV as ''staging''.
Rake::Task["rake:email:send_messages"].invoke
I tried a lot of variations but none of them work.
Rake::Task["rake:email:send_messages"].invoke RAILS_ENV=staging
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
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 Apr 18
0
extend doc:app rake task to Include lib/*?
I''ve never really done much with rake and I''m trying to figure out how
to add some options to the doc:app task. For instance I''d like to
include documentation for files in the lib directory. I can''t seem to
figure out the proper way to do it short of changing the
lib/tasks/documentation.rake in the rails distribution. After poking
around in the rails tasks, I
2006 Aug 11
1
Absolute path to public/images in rake task?
Hi all
I''m trying to create a rake task for the first time, so please be a bit
patient with me. ;-)
I''m coding a photo gallery. Every photo gallery''s photos are in its own
folder, and after an update I''d like to be able to synchronize the photo
files with the database (because every photo has its own Photo class
object). I''ve got so far:
# File
2008 May 26
1
Rake db task
Hello,
just wanted to know how to create a rake db task to populate data into
a database.
Thanks
Joel
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group,