similar to: has_many through delete issue

Displaying 6 results from an estimated 6 matches similar to: "has_many through delete issue"

2006 Aug 09
2
how to access selected value in controller action
I have this in a view: <%= start_form_tag :action => ''create_price'', :id => @media.id %> <%= select("media", "price_code_id", PriceCode.find_all.collect {|pc| [pc.name, pc.id ] }, { :include_blank => false }) %> <%= submit_tag ''Add Price Code'' %> <%= end_form_tag %> My question is, how would I access the
2006 May 10
0
Passing Muliple Parameters with remote_function
<select name="media" id="media" onchange="<%= remote_function( :url => { :action => :show_performer_categories, :rate_group_id => @rate_group }, :with => "''media_id=''+this.value''" ) %>"> I''m guessing that''s wrong since WebRick does nothign when I
2007 Oct 14
2
GetTimeZoneInformation question
Hi all, The following code snippet isn''t working terribly well for me. I can get the Bias, StandardName and DaylightName, but everything else is goofed up. The alignment seems ok, but maybe I''ve missed something or maybe I have to do extra work to unpack the SYSTEMTIME structures. require ''windows/time'' include Windows::Time buf = 0.chr * 172 #
2004 May 24
2
Newbie extensions.conf I need to include [SMS] context.
I want to include a new context in my exensions.conf I have read this page http://www.voip-info.org/wiki-Asterisk+howto+dial+plan and I can sort of follow it?! I have a context [local] that I know zapata.conf points to, I have edited extensions.conf and put in my phone, sip and iax extensions. I want to add an sms context. I understand that all calls go through my [local] context and I have
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2004 May 25
0
Question IAX and SIP bound to different IP's on the same * box
-----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of asterisk-users-request@lists.digium.com Sent: Tuesday, May 25, 2004 5:30 AM To: asterisk-users@lists.digium.com Subject: Asterisk-Users digest, Vol 1 #3891 - 8 msgs Send Asterisk-Users mailing list submissions to asterisk-users@lists.digium.com To subscribe or