similar to: FK references in DBDesigner4?

Displaying 20 results from an estimated 1000 matches similar to: "FK references in DBDesigner4?"

2006 Jan 10
2
DBDesigner4 to AR model (script)
Hi list, I have hacked together a small script to generate an ActiveRecord model from a DBDesigner 4 (fabForce.net) model file. Take it apart and feed it to the pigs ;). the article: http://tua.ch/ruby/current.html and the script: http://tua.ch/ruby/dbmodel/compute_model.rb best of whishes for the new year, kaspar code manufacture & ruby lab at http://www.tua.ch/ruby
2010 Aug 20
2
Determining the length of unique items in a vector
Dear all, let suppose I have following vector:   > dat1 <- c(rep("asd", 5), rep("xyz", 12), rep("erd", 17)) > dat1 <- dat1[sample(1:length(dat1), length(dat1), replace=F)] > dat1  [1] "erd" "xyz" "erd" "asd" "asd" "erd" "xyz" "asd" "erd" "erd"
2001 Nov 02
1
png and jpeg libs for Solaris
I'm also having trouble installing R 1.3.1 on Solaris and getting png and jpeg support. It looks like perhaps the png and jpeg libraries I installed weren't built with all the support R needs. If that's the case I'd appreciate confirmation. Or perhaps there's something else I can do? (with all the details I've included this message is rather long) Thanks -Don I did
2002 May 22
0
Problem installing tcltk on Solaris
I have built R 1.5.0, and tcl and tk 8.3.4 from sources on a Solaris 2.7 machine. All _appear_ to build successfully. tcl and tk pass their test suites. They were configured to build shared libraries (though I also tried it with tk not shared). When I try to use tcltk, I get this error message: > library(tcltk) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to
2013 Jul 23
1
Postgres adapter misconfigured on Linux?
I''ve written a simple Rails migration that adds an index to an existing Postgres table: class AddIndexToEvents < ActiveRecord::Migration > def change > add_index :sf_events, :account_id > end > end However, when I run the migration, it fails due to a syntax error on the CREATE INDEX line. I''m expecting some SQL like this to be generated: CREATE INDEX
2011 Dec 05
1
using StatEt IDE for Eclipse
Hi, I'm trying to use StatEt IDE for Eclipse as my R editor, but I'm completely lost. I've read all I could find online, made apparently all I had to do (installing rj, configuraing StatEt, etc.) but still cannot make R running. Below is the error log file. Thank you so much for assistance. Matteo !ENTRY de.walware.statet.r.console.ui 1 0 2011-12-05 16:21:51.355 !MESSAGE
2006 Mar 11
2
assignment of parent ID in child''s fk field
When I create a child record I''m not automagically getting the parent ID put into the fk field. Does object.new take parameters that allows me to do that as part of the AR record creation? Or do I need to do it separately? Or am I missing the boat altogether ;-) Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 10
0
bug? : STI and :include => fk and class_name MUST be specified
I suspect this is a bug. Or a limitation. Problem: ---------------- When you include a STI class in a ''find'' : @results = Result.find :all, :include => :event , you are forced to specify the fk and the class name : belongs_to :event , :class_name => "Event", :foreign_key => "event_id" . Full code: ----------- class Event <
2007 Jan 31
0
radio buttons => What if the value is a FK?
Hi: I have radio buttons like this in my view: <%= radio_button :goals, :goaltype_id, ''Recurring'', { :onclick => "new Effect.SlideDown(''recurring''); return false;" } %>&nbsp;&nbsp;Recurring<br /> <%= radio_button :goals, :goaltype_id, ''One-time'', { :onclick => "new
2005 Jun 27
9
FK constraints overrated?
Hello folks, I use to think that a relational databases without foreign keys constraints enforced strictly by the RDBMS were no good, piece of crap, data junk. However, I''ve also learned the hard way that FKs constraints imposes serious difficulties when moving data around, specially between different DBs, or for loading test data or for upgrading DBs schemas, or for porting DBs
2006 May 26
0
has_and_belongs_to_many with fk constraints?
Hi folks, I''m wondering if it''s possible to use foreign key constraints on the join tables of a has_and_belongs_to_many relation. Specifically, I get this error when I try and delete a model I''m using, named saved_search, which is many-to-many with neighborhoods. Any ideas? Thanks for any help. :-) -Eric Code: @saved_search.destroy Error: Mupdate or delete on
2006 May 28
1
ActiveRecord: FK constraints problem
Hi all. I have has_and_belongs_to_many association between models: Section and Content. class Section < ActiveRecord::Base acts_as_tree has_and_belongs_to_many :contents belongs_to :default_content, :class_name => ''Content'', :foreign_key => ''default_content_id'', :dependent => :nullify end class Content < ActiveRecord::Base belongs_to
2006 Aug 23
1
problems with Oracle: FK, triggers
Hi All! Is anyone working with Oracle on Rails? What about testing? I will be very happy if you can help me: 1) When I run rake test:unit it removes all my sequences in test enviroment. And I get an error like "OCIError: ORA-02289: sequence does not exist" But when I run rake db:test:clone_structure I can see all sequences again. Where is a problem? 2) How I can take proper
2009 Jan 07
1
Problems with EasyEclipse Ruby Rails 1.2.2.2
Hi, I''m a real newbie both in Rails and Ubuntu but I''m going to learn Ruby on Rails for a schoolproject. I''ve tried to find out what IDE is best according to different tutorials and blogs and have chosen to download easyeclipse-ruby-rails-1.2.2.2.tar.gz. My problem is that when i start the program an error popup is shown: "An error has occurred. See the log file.
2009 May 15
0
[LLVMdev] [Cygwin] bug on SVN
On May 15, 2009, at 11:03 AM, Aaron Gray wrote: > I am getting a bug building Cygwin on latest SVN :- > > llvm[1]: Compiling Process.cpp for Debug build > In file included from /home/ang/git/workbench/lib/System/Process.cpp: > 29: > /home/ang/git/workbench/lib/System/Unix/Process.inc: In function > 'unsigned int g > etColumns(int)': >
2009 May 15
3
[LLVMdev] [Cygwin] bug on SVN
I am getting a bug building Cygwin on latest SVN :- llvm[1]: Compiling Process.cpp for Debug build In file included from /home/ang/git/workbench/lib/System/Process.cpp:29: /home/ang/git/workbench/lib/System/Unix/Process.inc: In function 'unsigned int g etColumns(int)': /home/ang/git/workbench/lib/System/Unix/Process.inc:209: error: aggregate 'winsi ze ws' has incomplete type and
2007 Jun 09
7
create 2 fk referencing the same table
Hi everyone! I have a problem with defining 2 fk referencing the same table. I have a Program table and a Team table. The Program should have an away team and a home team fk. From my understanding, "the fk column should be named after the class of the target table, converted to lowercase, with _id appended". But, in my case, I have 2 fk referencing the same table. How can I do this?
2009 May 18
0
[LLVMdev] [Cygwin] bug on SVN
On May 15, 2009, at 12:13 PM, Aaron Gray wrote: > > ----- Original Message ----- > From: Douglas Gregor > To: LLVM Developers Mailing List > Sent: Friday, May 15, 2009 7:24 PM > Subject: Re: [LLVMdev] [Cygwin] bug on SVN > > > On May 15, 2009, at 11:03 AM, Aaron Gray wrote: > >> I am getting a bug building Cygwin on latest SVN :- >> >> llvm[1]:
2007 Apr 21
7
Database Modeller (Mac)
Can anyone recommend a database modelling tool for the Mac? I''m building a new Rails app and want an interface to draw out the database''s entity relationship diagram, setup foreign keys and then output DDL at the end to MySQL. I''ve previously used DBDesigner, CASE Studio and some pricier enterprise software on Windows, but can''t find anything suitable for my
2009 May 15
5
[LLVMdev] [Cygwin] bug on SVN
----- Original Message ----- From: Douglas Gregor To: LLVM Developers Mailing List Sent: Friday, May 15, 2009 7:24 PM Subject: Re: [LLVMdev] [Cygwin] bug on SVN On May 15, 2009, at 11:03 AM, Aaron Gray wrote: I am getting a bug building Cygwin on latest SVN :- llvm[1]: Compiling Process.cpp for Debug build In file included from