search for: schema_dumper

Displaying 10 results from an estimated 10 matches for "schema_dumper".

2005 Dec 15
2
Migrations on SQLServer ??
Hello all, I''ve spent a while looking for a sniff of this on the wiki or google at large.. Does migrations work for SQL Server on 1.0 ? -- ------------------------------ Joyeux Noël ------------------------------ Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2007 Apr 24
1
strange frozen string problem starting rails
...verecord/lib/active_record/connection_adapters/mysql_adapter.rb:354:in `each'' /home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:354:in `columns'' /home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/schema_dumper.rb:68:in `table'' /home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/schema_dumper.rb:63:in `tables'' /home/mlc/src/democracynow.org/vendor/rails/activerecord/lib/active_record/schema_dumper.rb:54:in `each'' /home/mlc/src/democracynow.org/vendor/rails...
2006 Jul 03
9
Migrations from Mysql to Oracle. PLS HELP!
Hi all, I''m using Rails/Mysql as development platform. the production server is under Rails/Oracle. Right now, i''m trying to install my application under the production server, the connection to orcale is fine via Rails, but i have a weird problem. example : here is a extract from my db scheme : Table User :_____________ id_user | first_name |
2008 Jul 01
14
rake aborted! Could not find table ...
...record-2.1.0/lib/active_record/ connection_adapters/sqlite3_adapter.rb:28:in `table_structure'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ connection_adapters/sqlite_adapter.rb:189:in `columns'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ schema_dumper.rb:75:in `table'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ schema_dumper.rb:70:in `tables'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/ schema_dumper.rb:61:in `each'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_rec...
2007 Mar 21
2
ORA-03106: fatal two-task communication protocol error
Has anyone encountered this error or know how to correct it? I couldn''t find any Rails-specific info about this on google. Here are the circumstances: /usr/local/bin/ruby --version ruby 1.8.4 (2005-12-24) [i686-linux] /usr/local/bin/rails --version Rails 1.1.6 ## Create mcd app rails mcd -d oracle cd mcd ## Create oracle tablespace & user sqlplus ''/ as
2009 Sep 28
5
Multi-databases support
Hi, While I was hacking ovirt-server, I have found that it's currently restricted to Postgres DB. Even if I like postgres for serious work on a server, I really prefer to hack/dev locally on a Sqlite or MySQL DB. I have googled on rails in order to find a good answer for the "foreign key problem" which forces OVirt to stay on pg. I have found a plugin on this particular
2006 Apr 12
0
Re: Re: Oracle unit test problem in Rails 1.1.2/Ruby-OCI 0.1
...nAdapters::OracleColumn. Second, even if there was, it''s not being used in the schema dumper. So, it looks like we need to add ''attr_reader :scale'' to schema_definitions.rb (which is where class Column, the superclass of OracleColumn is defined) as well as add a line in schema_dumper.rb that prints the scale, if present. I think this would go around line 89. Regards, Dan
2006 Jan 19
0
db_schema_dump for SQL Server
...null settings (:null => true / false). I''m wondering if we need to update the def columns method in activerecord/lib/activerecord/connection_adapters/sqlserver_adapter.rb to include "IS_NULLABLE as NULL" in the sql we use to retrieve the columns so that the following line in schema_dumper.rb will work: "tbl.print ", :null => false" if !column.null". That''s a total guess and I''m new to Rails so am not exactly sure how to figure out if that would fix the issue. 2) Primary key fields are not defined as :primarykey. This brings up another issu...
2006 Jul 12
1
Dumping schema
All, It looks like rake db:schema:dump does not dump primary keys. I have some legacy table that don''t follow the convention ie pk = id and none of the primary keys for these tables are getting dumped... Seems strange as this should be readily available from the db. I am using MySQL. Is anybody else seeing that ? Incidentally how does one specify a primary key using
2008 Jun 05
23
unit test question
In development and production, I''ve got postgresql constraints that prevent deleting a CaseManager if there is a Client that belongs to that CaseManager. In unit tests...and obviously in my testing db, those restrictions don''t get added. Is it wrong to test for deleting dependent records in unit tests? Craig --~--~---------~--~----~------------~-------~--~----~ You received