similar to: newbie: parent-child view

Displaying 20 results from an estimated 8000 matches similar to: "newbie: parent-child view"

2006 Mar 14
3
Simple search on joined table
Looking for some guidance, I seem to be caught in the weeds. I want to do a search on fields in a master/detail relationship. E.g. manufacturer owns many parts. I want to search on the manufacturer name, part name and part number, then return the full set of results. I have tried to use the .find method and create my own model .find method using a SQL statement, but then the results do not
2009 Oct 06
8
How do I access a child table/model from the parent in sql s
I am trying to use the fourth normal form for my applications so that i can get the information in the appropriate language. I have a table called manufacturers. I have another called descriptions. The descriptions are in two languages and each description belongs to a particular language. So two records in the Descriptions table one in English and One in French for each manufacturer. The
2007 May 19
3
form question
Suppose I have the following models/migrations: class Car < ActiveRecord::Base belongs_to :manufacturer validates_presence_of :manufacturer validates_association :manufacturer end class CreateCars < ActiveRecord::Migration def self.up create_table cars do |t| t.column :name, :string t.column :manufacturer_id, :integer end end class Manufacturer <
2010 Aug 18
1
Kernel panic on import / interrupted zfs destroy
I have a box running snv_134 that had a little boo-boo. The problem first started a couple of weeks ago with some corruption on two filesystems in a 11 disk 10tb raidz2 set. I ran a couple of scrubs that revealed a handful of corrupt files on my 2 de-duplicated zfs filesystems. No biggie. I thought that my problems had something to do with de-duplication in 134, so I went about the process of
2007 Mar 26
1
Handling Multiple Select Lists
Hi All, After much searching and head scratching I post you this! I can''t seem to find a generic way to handle multiple select data. The function I use to receive form values will only pass the first selected value from a multiple select. I have pasted part of the form and the function below. Thanks for any pointers, Vince // Example selectbox <select
2006 Jan 22
5
has_one not working as expected?
I messed around with Rails for a while last year, but then got busy and had to drop it. However, I now have time again, so I''m starting to play around with a simple database schema to model my extensive collection of photographic material, including equipment, negatives, photographs, etc. I''m running into an issue with using belongs_to/has_one methods. Read on for an
2006 Apr 05
2
How to add add child items to parent via parent show view?
I want to know the standard/easiest way to add items to a parent? Example: comment added to post I would like this to happen in the ?show? view of post using a form that is shown when the user clicks the ?add new? button/link. I would also like validation on the child form with the validation errors appearing in the post show? view. Two problems are presented: 1) When the user clicks the
2008 Jun 13
2
GLXBadDrawable 158 playing AOE2 GOLD
Couldn't find anything like this...so I had to post. Sorry if the answers are out there. Depending on how it's feeling (I guess), I can get it to run. But usually only after a fresh install of wine and of AOK. It will run once (just fine) then start to fail giving the following: X Error of failed request: GLXBadDrawable Major opcode of failed request: 158 (GLX) Minor opcode of
2008 Mar 30
2
virtualbox on centos5.1 PAE
Quad core duo 2.4Ghz (Q6600) Kernel 2.6.18-53.1.14.el5PAE #1 SMP 4Gb RAM VirtualBox-1.5.6_28266_rhel5-1.i586.rpm The package installed OK. I did KERN_DIR=/usr/src/kernels/2.6.18-53.1.14.el5-i686 /etc/init.d/vboxdrv setup and the module compiles AOK. BUT... at modprobe time: vboxdrv: disagrees about version of symbol struct_module Am I doing something stupid? -- rgds Stephen
2008 Jun 25
1
Desktop: After yum update and power off, cannot boot new Kernel
Yesterday, in the afternoon, I did "yum update" on my Desktop. Everything seemed AOK. After power down last night, when I powered on this morning, it began to boot the new Kernel and then seemed to die. Instead of getting the progress of the boot on the CRT, the screen was blank and nothing happening. I am now running off the previous Kernel on this box. Is there a fix for this, so I can
2005 Dec 18
1
Basic samba/swat setup prob
Good Morning, I am trying to setup a basic samba config by first starting up swat. I have followed the guide http://us2.samba.org/samba/docs/using_samba/ch02.html but have problems. I am running kubuntu, samba 3.0.14a, my smb.conf file is ... [global] workgroup = METRAN encrypt passwords = yes [test] comment = For testing only, please path = /etc/samba/tmp read only = no
2004 Aug 30
2
Streaming in ogg and mp3
Hi, there are a way of encoding to a icecast in ogg, and have a relay, streaming in mp3? tanks Andr+AOk- Marcelo Internet R+AOE-dio Chat Brasil http://www.ircbrasil.com.br Fone: 61 341 3305 - cel: 61 9628 6588 msn: andre+AEA-ircbrasil.com.br -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Oct 31
1
Kernel panic on zfs import
Hi, I''ve got an OpenSolaris 2009.06 box that will reliably panic whenever I try to import one of my pools. What''s the best practice for recovering (before I resort to nuking the pool and restoring from backup)? There are two pools on the system: rpool and tank. The rpool seems to be fine, since I can boot from a 2009.06 CD and ''zpool import -f rpool''; I can
2008 Oct 18
3
Cucumber "standard base" setup?
I''m trying to set up cucumber so we can try it in some Ruby automation scripts I''m working on. These will be straight Ruby, for use in BBEdit and TextMate (on the Mac). NOT Rails. The big early-stage stumbling block I''m having is setting up the initial Rakefile and directory structure. I think I''m rtfm''ing, but clearly I''m missing
2007 Jan 19
1
Problems w/ CentOS 4.4 ....
.... I just installed CentOS 4.4 yesterday P.M., on my 2.4 GHz P4 box, Foxconn i865 mbd, 2 GB DDR400 RAM (4 X 512 MB), 1 X 20 GB HDD (hda), 1 X 160 GB HDD (hdb), 1 X LG GSA H22N DVD reader/burner (hdc), 1 X 400 GB HDD (hdd), Coolmax CP500-T PSU. I wiped SuSE 9.2 off of the 20 GB drive & installed CentOS. The other 2 drives were already ext3 FS & will be mounted as /home & /work
2004 Sep 17
1
No sound from IVR scripts, yet calls placed without any problem.
Hi, Bit of a puzzle this one - let's see if anybody else can shed some light... I Ghosted my Asterisk box to build one for a colleague. I added one HFC card to make the total two and amended zaptel.conf and zapata.conf accordingly. I tested it with my handsets on my ISDN lines and it worked AOK. I unplugged the box and took it to his house and plugged it in. He doesn't have any ISDN
2018 Jul 25
3
Unable to contact active directory or verify claim types
I am running several Solaris 11 file servers with samba 4.7.6. This is an AD domain but the domain controllers are Win 2008 R2 and Windows 2012 R2. All users and groups in AD have unix uidNumbers and gidNumbers assigned. On one file server, I am having problems where some users can not access files , via windows, to which they should have access as the group member. For example,
2004 Jul 13
1
Migrating from a WinNT 4 PDC to Samba 3 PDC Troubles
Hi, I've been in the process of attempting a transition from our current NT 4.0 PDC to Samba 3.0.4 on linux (Debian running the 2.4.18 kernel). I can get the smbd/nmbd up and running just fine and configure them by hand or with SWAT and the changes are saved. I've been following the HOWTO's and get stuck at the net rpc vampire step: I am able to join the linux machine, call it
1999 Jan 29
2
Installation of SAMBA 2.0 on Solaris 2.6
Hi people, Is there somebody who knows how to install SAMBA 2.0 on Solaris 2.6? Thanks, Rivaldo
2004 Aug 29
3
Sugestion
Hi everyone, some time ago, i has testing icecast, streaming in ogg, and i found fantastic the quality at 32 kbps. I have a web radio in Brasil, and today i am using the shoutcast. I has loved icecast, but today i can+ALQ-t use it. i explain: I have djs in every part of Brasil... when one of then disconnect from the server, other connect. I has tried do this in icecast, but, when the dj