Displaying 20 results from an estimated 1000 matches similar to: "rake aborted! Don't know how to build task 'db_schema_dump'"
2006 Apr 26
1
rake db_schema_dump make syntax error
rake migrate bug with datetime:
> rake db_schema_dump
produced a bad schema.rb that isn''t valid ruby, it has an invalid default, unless ruby
takes bare words:
t.column "date_available", :datetime, :default => Sun Jan 01 00:00:00 Arabic Standard
Time 2006, :null => false
I don''t think the Baghdad time zone should matter.
ruby 1.8.4, rails 1.1.2,
2006 Jul 27
2
Creating multiple objects from form data
I''m in the process of creating a sign up form for an online application.
The form collects account info, company info, and then info for an
administrative user.
The method looks like this:
def create
@account = Account.create!(params[:account])
@company = @account.companies.create!(params[:company])
@user = @company.users.create!(params[:user])
end
However, this inevitably fails
2005 Dec 22
2
help me understand migrations movie
I''m somewhat of a newbie - played with recent versions of rails a few
mths ago, but have decided to start from scratch with 1.0.
I want to build my new db as much as possible with migrations, so I
watched DHH''s migrations movie from rubyonrails.org.
A few things confuse me:
1. He generates the model ("post") before running rake db_schema_dump.
Is that necessary or
2013 Oct 20
1
[LLVMdev] Parsing C++ headers with Clang bindings for Python
Hi Elliott,
On Oct 18, 2013, at 9:29 PM, Elliott Slaughter <elliottslaughter at gmail.com> wrote:
> Answering my own question:
>
> On Fri, Oct 18, 2013 at 8:51 PM, Elliott Slaughter <elliottslaughter at gmail.com> wrote:
> I'd like to parse a C++ header file (say, math.h) with the Clang bindings for Python. (Yes, I know math.h is technically a C header, but for my
2013 Oct 19
0
[LLVMdev] Parsing C++ headers with Clang bindings for Python
Answering my own question:
On Fri, Oct 18, 2013 at 8:51 PM, Elliott Slaughter <
elliottslaughter at gmail.com> wrote:
> I'd like to parse a C++ header file (say, math.h) with the Clang bindings
> for Python. (Yes, I know math.h is technically a C header, but for my
> purposes I want to pretend that it is C++.) For some reason, Clang is able
> to parse the file as C, but not
2006 May 23
0
rake db_schema_dump failure
Anyone know why "rake db_schema_dump" would produce the following error:
rake aborted!
Don''t know how to build task ''db_schema_dump''
(See full trace by running task with --trace)
Otherwise, my migrations work fine.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 19
0
db_schema_dump for SQL Server
We''re using migrations to manage a SQL Server project and have been running
into a number of issues with db_schema_dump/migrations. Can anyone confirm
that these are actual issues with the SQL Server adapter and not issues with
me :)
1) Fields are not properly setup with proper null settings (:null => true /
false). I''m wondering if we need to update the def columns method
2006 Feb 01
0
rake db_schema_dump: Dump the data too?
Hi all
I''d like to dump also my data with rake db_schema_dump. Is there a way
to do this?
Thanks
Josh
--
Posted via http://www.ruby-forum.com/.
2013 Oct 19
2
[LLVMdev] Parsing C++ headers with Clang bindings for Python
I'd like to parse a C++ header file (say, math.h) with the Clang bindings
for Python. (Yes, I know math.h is technically a C header, but for my
purposes I want to pretend that it is C++.) For some reason, Clang is able
to parse the file as C, but not as C++.
Here is an example session:
>>> import clang.cindex
>>> idx = clang.cindex.Index.create()
>>> tu =
2005 Dec 14
3
Migrations bug with Rails 1.0, PostgreSQL 8.1?
Filed a ticket for bogus Ruby produced via:
rake db_schema_dump
http://dev.rubyonrails.org/ticket/3232
I''d appreciate it if someone could verify against
PostgreSQL 8.0.x
--
-- Tom Mornini
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
2006 Apr 11
2
Schema.rb and MySQL decimal
Hi,
I have a mysql schema with some decimal(20,20) fields. Now, I made a
rake db_schema_dump for deployment of my applications on other machines.
Rails created a schema.rb with the decimal fields as float.
After a rake db_schema_import the fields are just float not decimal. How
can I force rails to create decimal(20,20) columns instead of float?
Thx.
Marc
--
Posted via
2009 Oct 05
4
[LLVMdev] getting gold plugin to work?
Attached is the start of a patch to make the gold plugin work on
Darwin for use as a cross-compiler. There needs to be a build step
somewhere in llvm-gcc that copies it into libexec/<gcc
poop>/libLLVMgold.so, but I've been doing that manually for now.
It doesn't seem that simple use of -O4 results in the plugin learning
what subtarget is desired. I presume that the llvm-gcc driver
2006 Jan 19
3
problems with migrations in sql server
Is anyone using migrations with a SQL Server database who might be able to
lend me a hand? I''ve used migrations with MySql in the past and haven''t
run into any issues so forgive When I run rake migrate nothing is actually
getting updated in my database. I created a migration using
./script/generate migration AddFooTable and updated the migration to look as
follows:
class
2005 Dec 17
4
Rake migrate and creating join tables
Just wondering if there''s a way to use migrations to generate join
tables (where the table columns comprise only of foreign keys to other
tables, and where the primary key is all the foreign keys taken together).
I made the changes manually in MySQL, then did rake db_schema_dump and
it gave something like this:
create_table "apples_oranges", :id => false, :force
2009 Jan 17
10
Cucumber Scenario Outlines Output Insufficient
I''m having problems knowing what a scenario outline I''ve created is doing.
In particular I have no idea about what steps are being matched when the
outline is run so when I break something I can''t find out what is wrong. Is
there any progress on getting better output for scenario outlines.
TIA
Andrew
-------------- next part --------------
An HTML attachment was
2006 Jan 19
3
Migrating from Mysql to PostgreSQL
I tried to use ''rake db_schema_dump'' from old MySQL database and then
use ''rake db_schema_import'' to rebuild the database in PostgreSQL. The
issue here is that only some of tables can be imported successfully.
For example, in the dumped schema.rb:
create_table "profiles", :force => true do |t|
t.column "ticker", :string, :limit
2006 Jul 10
1
Migration and foreign keys
Hi,
I''m using the ''rake db_schema_dump'' command to clone the structure of
the developement database into the test database.
Unfortunatelly, the schema.rb file doesn''t contain any information about
the foreign keys of the tables. For this reason all the test that
concern about the relations are not working has suposed.
Is this a limitation of Rails or am I
2006 Mar 23
3
migrations: how to have all data dumped into rb ?
Hi,
I dumped the schema using rake db_schema_dump.
Now how do I create a migration containing all the data I have in my dev
db ?
--
Jean-Christophe Michel
2009 Oct 09
0
[LLVMdev] getting gold plugin to work?
Sandeep Patel wrote:
> Attached is the start of a patch to make the gold plugin work on
> Darwin for use as a cross-compiler. There needs to be a build step
> somewhere in llvm-gcc that copies it into libexec/<gcc
> poop>/libLLVMgold.so, but I've been doing that manually for now.
With this patch, it seems that it produces a file named LLVMgold.so
instead of libLLVMgold.so.