similar to: Naming convention for foreign keys

Displaying 20 results from an estimated 500 matches similar to: "Naming convention for foreign keys"

2006 Jan 20
6
Sharing a Model
I have two rails applications that modify/view the same data. Is there a DRY way of sharing a model (not just database) between two separate applications? -- Mike
2006 Jan 30
11
Database Selection
Hi, I am a RoR newbie and I''ve been experimenting with different databases (mySQL, PostgreSQL, etc.) and different table types (MyISAM vs. InnoDB). Is there a preferred database/table type for RoR development. I like how MySQL''s InnoDB tables enforce referential integrity, but these tables require a lot more storage space then MyISAM tables. For everyone with a lot of RoR
2006 Feb 05
8
Agile Rails book: depot problem
I recently finished the first part of the "Agile Rails" book. But, the depot doesn''t completely work as it should. I still have 2 problems: I will explain them in 2 threads. The first one is: I can''t destroy products (I can only creat and update them). When I try to delete a product --> http://localhost:3001/admin/destroy/3 I get this error message:
2011 Apr 30
4
QQ plot for normality testing
Hi all, I am trying to test wheater the distribution of my samples is normal with QQ plot. I have a values of water content in clays in around few hundred samples. Is the code : qqnorm(w) #w being water content qqline(w) sufficient? How do I know when I get the plots which distribution is normal and which is not? Thanks, m [[alternative HTML version
2004 Apr 12
2
Complex sample variances
Hello, Is there a way to get complex sample variances in the survey package on summary statistics other than means? If not, can they be added to a future version? It would be be great to have them on totals, quantiles, ratios, and tables (eg row percent, columns percent, etc). Thanks. Fred --------------------------------- [[alternative HTML version deleted]]
2005 Dec 22
7
Ruby on Rails and lookup tables
Hi, I''m a newbie on both Ruby and Ruby on Rails, and I''m struggling with my first app. I have a table with a column called "employee_id" which is a foreing key associating it with the "employees" table. I have populated both tables. When I run "ruby script/generate scaffold <model name> <controller>" it generates a web page with all
2009 Mar 09
2
ms office and 3.3.1
I upgraded from 3.2.7 to 3.3.1 and am having the most peculiar problem with Microsoft Office 2007 and samba shares. Users can open a share, create, edit and delete files/folders with no problem. But when a user opens a file on a samba share in any Office application, for example Word, and clicks 'Save' then a dialog box opens: "Access denied. Contact your administrator". This
2006 May 29
1
Multiple Relations between 2 tables
So I am trying to figure out how I would go about creating the relationships between two tables, but there are multiple relationships happening. The one I am trying to figure out is a one_to_one relationship + a one_to_many relationship. Example: I have a home model and a location model home has_one location location has_many homes The trouble is I have to be able to access both
2008 Sep 12
1
Referencing exactly two models of the same kind
Hi, how do I solve this in Rails: Lets say I have a User and a Message. Now, a Message is sent from one User to another User, which means that in the Message I have to reference a User twice! This seems to be a problem, if I do not user one-to-many or many-to- many relationships, because it seems to me as if I could reference a Model of the same type only once. However, I would like the Message
2002 Apr 14
1
Exclude & --delete not working?
Hi there, we have an odd problem, which maybe how rsync is intended to work, but I think not: On server side, we run rsync in daemon mode with a share [foo] that has a serverside path of /foo. On client side, we invoke rsync -zavuSH --delete server::foo/ /foo. The rsync daemon uses an exclusion list. The problem is, the client rsync deletes clientside whatever is in the exclusionlist. If I read
1998 Mar 23
4
Browsing across subnets
I would like to know how to view a samba server on a different subnet than the client workstation resides. For example, I have a Samba 1.9.18p3 server in subnet 'a' and a NT 4.0 client in subnet 'b'. The Samba server does not show up when the NT client double-clicks on the Network Neighborhood. However, if the client does a Find:computer it will find the server, and shares can be
2004 Jan 04
1
Cisco 12sp+ program update
does anyone have a running cisco 12sp+ or 30 vip phone on their network? and if so could you also tell me what tftp files you actually use and if there are any special settings in skinny.conf that i need? (I ran several searches for setup, nothing has come up so far so i'll ask for advice now.) Thanks Rohde -------------- next part -------------- An HTML attachment was scrubbed... URL:
1999 May 19
1
can't save files in 2.0.4
After upgrading from 2.0.3 to 2.0.4, my Office 97 users can no longer save files to drives on my Enterprise 250 running Solaris 7. Other methods(explorer, file manager, wordpad) allow writing to these file systems, but office 97, Word in particular, is a complete no go. Anybody else have this experience with version 2.0.4? Bob Rohde
2010 Oct 08
1
[LLVMdev] MAJOR API CHANGE: Pass initialization without static constructors
Hello fellow LLVM-ers, As those of you who follow llvm-commits have probably noticed, I've been hard at work reworking our pass infrastructure to perform pass initialization/registration without static constructors. This is a boon for clients of the LLVM libraries, as they can now control when and if initialization occurs, as opposed to being forced to incur the initialization cost at
2010 Dec 15
4
[LLVMdev] example of language with vector as first class type
Hi All Does anyone know any example compiler where it has vector/matrix as first class type like matlab using llvm? If not, does anyone have idea how that should be done on llvm? Thanks Leon -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101215/92febead/attachment.html>
1998 Nov 03
3
SOLARIS_2.6: request_oplock_break
I saw a little discussion about this a few weeks ago but nothing concrete. We're running samba-1.9.18p8 under Solaris 2.6x86. I am periodically getting the following in the logfiles, usually _many_ at a time: 1998/11/03 14:42:00 request_oplock_break: no response received to oplock break request to pid 5411 on port 40884 for dev = 1980040, inode = 33c4d When I look up the PID (in this case
1999 Jun 30
1
Urgent: multiple NIC
Hi, I have a NT Workstation with SP4 and 3 network interfaces. I use ATM over IP, so two of my interfaces are CLIP. CLIP is ip over atm, so the only problem for samba would be no broadcasts in atm interfaces. I also have a Linux Box (RedHat 2.2.1 with samba 2.0.2) with 3 interfaces for the same networks as my PC. It looks something like this: -Linux Box- -NT Box- (atm)
2003 Dec 14
1
Error loading modem driver
When I attempt to start asterisk with my modem setup listed it will not start attached are the error messages i get and also the modem.conf that i am currently using. Any assistance would be greatly appreciated. running CVS ver 12/7/03, modified only to allow the RxFax and TxFax to compile and run with it (from http://www.opencall.org) just e-mail me privately if you need more info Thanks in
2004 Mar 15
2
R equiv to proc gremove in maps package
Is there an R equivalent to SAS's proc gremove? You would use this procedure to combine the units on an existing map, for example to build a map of Metropolitan Statistical Areas (MSAs) from the [US] counties dataset where the internal boundries surround the MSAs (which are groups of counties) rather than the individual counties. I can imagine the mechanism would be to find and erase the
2010 Dec 29
1
logistic regression with response 0,1
Dear Masters, first I'd like to wish u all a great 2011 and happy holydays by now, second (here it come the boring stuff) I have a question to which I hope u would answer: I run a logistic regression by glm(), on the following data type (y1=1,x1=x1); (y2=0,x2=x2);......(yn=0,xn=xn), where the response (y) is abinary outcome on 0,1 amd x is any explanatory variable (continuous or not)