Displaying 20 results from an estimated 2000 matches similar to: "One to Many example... please!"
2006 Mar 04
5
has_many and belongs_to example?
Hi!
If i have 2 tables i.e. product and images and product has_many images,
image belongs_to product - how to create _form.rhtml, new/create and
edit/update methods in product controller, so in a single form i can add
one product and MANY (let''s assume for now that this number is fixed)
images for this product?
Pleeeeease help me :)
--
Posted via http://www.ruby-forum.com/.
2006 Mar 04
1
validation for items in a 1 2 many
I am populating a table skills which relate to a table cv in a 1 cv to
many skills relationship...
I populate the skills as below;
def new
@session[:cv_id] = params[:id]
@skill = Skill.new
end
def create
@cv = Cv.find(@session[:cv_id])
@cv.skills << Skill.new(params[:skill])
if @cv.save
flash[:notice] = ''Skill was successfully created.''
2015 Sep 01
4
HP EFI binaries
On Mon, Aug 31, 2015 at 07:59:06PM -0400, Gene Cumm via Syslinux wrote:
> On Mon, Aug 31, 2015 at 6:42 PM, Derrick M <derrick.martinez at gmail.com> wrote:
> > Thanks Gene!
> >
> > this one is much better
>
> EXCELLENT! That's what I wanted to see. It iterates through 3
> handles, printing the entire MAC buffer and the handle's memory
> address.
2020 Jun 22
2
Hardware ASan Generating Unknown Instruction
Thanks for the confirmation. From the assembly that was sent on the other
branch of the thread:
> .set .L.str, .L.str.hwasan-3458764513820540928
-3458764513820540928 = 0xd0 << 56
i.e. a "negative" tag.
So this appears to be the issue exactly.
Peter
On Mon, Jun 22, 2020 at 1:55 PM Derrick McKee <derrick.mckee at gmail.com>
wrote:
> Using lld fixes this issue.
>
2015 Aug 31
4
HP EFI binaries
On Mon, Aug 31, 2015 at 06:08:19AM -0400, Gene Cumm via Syslinux wrote:
> On Aug 30, 2015 8:42 PM, "Derrick" <derrick22 at gmail.com> wrote:
> >
> > Gene thanks, here is the output
> >
> > My IP is 10.2.49.10
> > Img @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 = 8cdcd40ca5f0
> > Udp @ 71d89718 =
2006 Jan 25
9
connection_specification and adapter
Hi,
I wish to know, how those class work exactly, where
can I find the documentation? or can someone explain
to me how a connection is made via those class???
Thanks you very much!!!!
Saiho
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
2020 Jun 22
3
Hardware ASan Generating Unknown Instruction
I suspect that this is hitting the issue that I mentioned here:
https://reviews.llvm.org/D65857#1621335
We may need to do what I suggested there and restrict global tag entropy on
non-Android Linux to 7 bits. You can try working around this issue for now
by using lld as the linker (-fuse-ld=lld).
Peter
On Mon, Jun 22, 2020 at 1:37 PM Mitch Phillips via llvm-dev <
llvm-dev at
2015 Aug 17
5
HP EFI binaries
On Mon, Aug 17, 2015 at 3:34 PM, Derrick M <derrick.martinez at gmail.com> wrote:
> Gene
>
> Thanks for the reply. I didn't have a guid command, and couldn't find the
> equivalent. dh > fs0:\efi-dh.txt worked, but dh -p Net did not so I ran dh
Nothing of the sort listed with the help command to list the full
GUIDs and their aliases?
> -d -v -p SimpleNetwork >
2019 Mar 16
6
[PATCH 0/4] NV50/GF100 behind constrained hierarchies
Hi Ben,
I've been working with an mmio-constrained pci hierarchy intended almost
solely for nvme devices and switches. Binding nouveau to an NV50-based
gpu results in a kernel panic as the device cannot be fully mapped.
I've made modifications in nv50 and vmm to unbind the driver from this
hierarchy, and modified gf100 assuming it will have the same issue.
1/4 also includes a fix where
2015 Aug 28
6
HP EFI binaries
On Fri, Aug 28, 2015 at 4:22 AM, Patrick Masotta <masottaus at yahoo.com> wrote:
> Thanks Derrik; I got your efi-dh.txt
>
> I've found this:
>
> 252: SimpleNetwork PXEBaseCode LoadFile DevicePath(0000:0000:0000:0000:0000:0000))
> 267: SimpleNetwork PXEBaseCode LoadFile DevicePath(065F36E00EE,0x1)/IPv4(0.0.0.0))
> 27C: SimpleNetwork PXEBaseCode LoadFile
2006 Mar 20
3
rhtml templates and syntax
Hello,
where do we need <% -%> in templates ? What is the difference between
<%= %> and it ?
--
Posted via http://www.ruby-forum.com/.
2005 Mar 15
1
Not ringing phone that are in use
We have a small number of phones, when a call comes in we want all the
phones that aren't in use to ring.
Is there a simple way to test and see what phones are in use then ring
the other phones? I tried some
code like this:
[zap]
exten => s,1,Answer
exten => s,2,ChanIsAvail(${DERRICK})
exten => s,3,SetVar,"EVERYONE=${DERRICK}"
exten => s,4,ChanIsAvail(${DON})
exten
2020 Jun 09
2
Cross compile x64 to AArch64 issues
Hi,
I am trying to cross compile release-10.x to AArch64
(target=aarch64-linux-gnu), and the directions listed at [1] are not
completing the initial cmake step. I'm currently running Manjaro,
with the aarch64-linux-gnu package (and associated binutils, headers,
and glibc packages). My cmake command is
cmake -DCMAKE_CROSSCOMPILING=True -DCMAKE_INSTALL_PREFIX=`realpath
install`
2020 Jun 22
3
Hardware ASan Generating Unknown Instruction
Hi,
I am trying to execute a simple hello world program compiled like so:
path/to/compiled/clang -o test --target=aarch64-linux-gnu
-march=armv8.5-a -fsanitize=hwaddress
--sysroot=/usr/aarch64-linux-gnu/
-L/usr/lib/gcc/aarch64-linux-gnu/10.1.0/ -g test.c
However, when I look at the disassembly, there is an unknown
instruction listed at 0x2d51c:
000000000002d4c0 main:
2d4c0: ff c3 00 d1
2004 Mar 08
2
WinXP Profiles
Does anyone know how to edit smb.conf so that a users profile won't be saved
upon log out? Or how to get it done any other way?
----------------------------------------------------------------------------
Derrick Seymour
Administrative Services
Northeastern Regional Information Center
Capital Region BOCES
2015 Aug 31
2
HP EFI binaries
Gene thanks, here is the output
My IP is 10.2.49.10
Img @ 71d89718 = 8cdcd40ca5f0
Udp @ 71d89718 = 8cdcd40ca5f0
Udp @ 71d89718 = 8cdcd40ca5f0
Udp @ 71d89718 = 8cdcd40ca5f0
>From that point it is hung
On Sun, Aug 30, 2015 at 4:10 AM, Gene Cumm via Syslinux <syslinux at zytor.com>
wrote:
> On Fri, Aug 28, 2015 at 3:13 PM, Derrick M <derrick.martinez at gmail.com>
> wrote:
2012 Aug 14
2
A drawing problem with R
Dear R-help mailing list,
I have a drawing problem with R:
I need to draw an horizontal axis with date, here is the test code:
> ticks <- c("2004-01-22","2005-01-22","2006-01-22","2007-01-
22","2008-01-22","2009-01-22","2010-01-22","2011-01-22","2012-01-22")
> ats <-
2006 Aug 11
3
XP clients disconnected during trasnfer of larger files tothe samba server
Any suggestions to look into, or more debug info required?
The box is running centos 4.3 final, up to date with the latest versions
of CentOS updates,, it's running something like 3.0.10 or .11 - can't
recall. 1:22 am. Off to bed...
Thanks.
-----Original Message-----
From: samba-bounces+dmacpherson=mainframe.ca@lists.samba.org
2015 Oct 07
5
UEFI: Failed to load ldlinux.e64/ldlinux.e32
> On Fri, Oct 2, 2015 at 4:07 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>>
>> I have a patch that I think may help your situation of syslinux.efi
>> being unable to load ldlinux.e64/ldlinux.e32 (though I don't know if
>> any of you are using an EFI ia32 platform).
>>
>> The basics are that we try to enable UseDefaultAddress as it helps
>>
2000 Nov 15
2
loess documentation
Hi all,
I 've got a question about the usage of loess in the modreg package.
The documentation (loess.html) states that the smoothing window is
either set by span or enp.target. If span is used, the details section
of the docs state...
<SNIP>
DETAILS
Fitting is done locally. That is, for the fit at point x, the fit is
made using points in a neighbourhood of x, weighted by their