similar to: Legacy database migration causing problems during testing.

Displaying 20 results from an estimated 1300 matches similar to: "Legacy database migration causing problems during testing."

2010 Mar 29
3
one way to write scripts in R
Dear R users, A colleague of mine asked me how to write a script (an executable text file containing R code) in R. After I showed him, he said that after extensive searching of the R archives, he had not found anything like these techniques. He suggested that I share these methods to enable others to leverage R as a better alternative to bash/perl scripts. So in the interest of giving back to
2004 Jul 13
2
help with as.function
HI, sorry but i don't understand how to make a function with as.function() formula<-"2+3*x" formu<-as.symbol(formula) > formu 2+3*x formul<-as.function(alist(x=,formu)) curve(formul,1,5,col="blue") Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ > typeof(formul) [1] "closure" and not plot the curve function, Why?
2012 Mar 17
2
Reading then transposing from file
Hi, I'm an R beginner and I'm struggling with what should be a rudimentary task. My data is along these lines: ID name1 name2 name3 name4 Class 0 1 0 2 Var1 A B C A Var2 B C C A Var3 C A B A etc. I'm using the following: foo <- data.frame(t(read.table("file", header=FALSE))) but of course now it's not using ID, Class, etc. as column names. As you can imagine,
2006 Apr 09
0
action cache plugin, bad yaml?
Is there anyone out there using this plugin in production: http://wiki.rubyonrails.com/rails/pages/Action+Cache+Update+Plugin it seems to occasionally generate bad YAML, which makes the cached page unavailable. Here is what happens when I try to parse it from the console: >> YAML.load open(''tmp/philly.localfeeds.com/.cache'') ArgumentError: syntax error on line 318,
2012 Dec 27
1
Creating a Factor Object in C code?
Hi guys I am currently working on a small bit of bridging code between a database system and R. The database system has the concept of varchars, a la factors in R, as distinct from plain character strings. What I would like to do is when I receive a list of character strings from the remote database system that are of type varchar, turn these into a factor variable. This would ideally need to be
2019 Apr 02
1
sql table definitions
Hi all, Trivial question ... I'm using PostgreSQL for my auth db. I used the example CREATE TABLE statement in the config file, but now I find the fields are too short. I assume dovecot will be fine with 'text' type columns replacing the varchars? Or failing that, I can change the length of the varchar fields? Cheers, Richard
2006 Apr 06
6
Flexible data schema in a database?
I figured I pose this to the list and see if any one can build a better mousetrap. The problem: 1. Store hierarchical data in a database, but without knowing the hierarchy beforehand. 2. Allow the user to define there own hierarchy, and allow the system to support multiple hierarchies. Call it a cataloging system, we have an object and we want to add data about that object to the system. Now
2006 Apr 24
9
Confusion with expressing many to many relationship
Hi folks, I am in the process of converting an existing non-rails application to rails, and am not sure what the best approach would be for specifying the relationship between the two sets of data. I''ll describe the existing table structures first. Table 1: Urls Each url has a unique id and two lists of Phrases, these are currently setup as varchars with "," delimitation -
2009 Dec 31
6
Oracle SQL driver
Hi all. Recently I was looking for an IMAP-server with Oracle support and unfortunatelly I couldn't find one. It was a surprise for me but there is no such functionality at all. So I've chosen an IMAP-server with most flexible and convinient architecture that was Dovecot-1.2.9 and written a driver for Oracle RDBMS support. I used Oracle Pro*C so a Pro*C preprocessor is needed to
2010 Jan 09
21
[Bug 25966] New: nv25 : rxvt scrolling is very slow
http://bugs.freedesktop.org/show_bug.cgi?id=25966 Summary: nv25 : rxvt scrolling is very slow Product: xorg Version: 7.5 Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2006 Apr 26
1
Intergrate Asterisk IP PBX with Legacy PBX, continuing existing funtionality of legacy pbx
Hi All, I would like to explain the layout that i am trying to achive. I am so helpless on this regard. So here is the story ........ " This is with regard to the setup which you can find at the "Asterisk The Future of Telephony" , chapter 11, page # 196-197, I am attaching the picture for your information. Now I am taking a challenging step to of integrate IP PBX with our
2005 Jun 29
3
Setting the value of a primary key field
I have a table that is to hold all ISO 639 language codes: alpha3t, alpha3b, alpha2, that bunch. It also (indirectly) holds language names, but that''s off-topic. alpha3t is the primary key, so I''ve told Active Record about this by saying set_primary_key "alpha3t" within the Language model. (Don''t try to call your models things like ISO639 (won''t work
2006 Dec 01
1
cannot use acts_as_ferret on legacy tables or tables with a
when i used "find_by_contents" on a legacy table with a different primary_key than "id" i always got results=nil even when total_hits was > 0 as a quick fix i changed line 261 in "class_methods.rb" from: conditions = [ "#{self.table_name}.id in (?)", id_array ] to: conditions = [ "#{self.table_name}.#{self.primary_key} in (?)", id_array ]
2007 Jul 06
2
Legacy PTY Support ?
I am looking at T38Modem. A relatively new version is ready for someone to build an rpm for (Mar '07). But the readme warns: Q. I try to use T38modem, but after run "t38modem -p ttyx0" I get a message "Could not open /dev/ptyx0: No such file or directory". A. Looks like you don't have legacy PTY devices compiled in your kernel. You need to re-compile the
2007 Jan 18
1
i8042_panic_blink conflict with legacy interrupt from devices.
hi, my PCI-Express device is generating interrupts at a very high rate. when i generate legacy interrupts the system hangs saying "Badness in i8042_panic_blink in drivers/input/serio/i8042.c:992" but when i generate the interrupts using the MSI mode. the system is working fine. please help --------------------------------- Here?s a new way to find what
2006 Nov 04
0
Using migrations with legacy schema
Hi All Please excuse me if my questions sound silly. I have developed a rails app with an existing legacy schema and now with changes in customer requirements, I need to change the schema. The legacy (schema) database has > 250K. What I would like to know is 1. Is it possible to migrate the data along with migrating the schema if use Migrations? If it is possible can somebody point me to an
2006 Aug 01
1
Legacy Pluralized Table Names
I am connecting to a legacy DB that has some names plural and some not. I have configured: ActiveRecord::Base.pluralize_table_names = false now when i make a table that has an s on the end, it truncates the s. example: Table name: foo_bars Rails command: ruby script/generate FooBars Response (localhost:3000/FooBars): uninitialized constant FooBar It works fine with non-pluralized
2006 Aug 03
3
Importing Legacy Data
I have a rather large legacy dataset thats not already in SQL, is there anyway I can use Rails to import this data programmaticly? Im already considering converting the database to Rails code so that it (rails) can handle the relationships (inserts in to join tables and such). Perhaps something very similar to the scaffolding code, but more along the lines of Rails tests? Does this make
2006 Aug 08
1
limit user input for legacy coding schemes
The legacy db I am currently working with has lots of codes (2 character strings) that are required to be the same in the new version of the app. Things like country codes, language codes and others which are not standard. Rather than create a table for each and then have a relationship between my models, I would much prefer to have a string field in the model being tagged with a code, limit
2006 Aug 08
1
Legacy system belongs_to problem
Hi all, I am trying to patch a small rails app into a large system we have at our company. The legacy has a large database that naturally does not match the Rails conventions, but this has not been a serious problem thanks to rails flexibility. The problem I just ran into is that my "LineItems" table links back to the "Products" table using a modified foreign key. For