Displaying 3 results from an estimated 3 matches for "media_id".
2006 Aug 09
2
has_many through delete issue
...When I call the action the following error is returned:
ActiveRecord::StatementInvalid in MediaController#destroy_price
Mysql::Error: #42S22Unknown column ''prices.id'' in ''where clause'': SELECT
* FROM prices WHERE (prices.id = ''1'' AND (prices.media_id = 82)) LIMIT
1
For this example I''m trying to delete the prices record with media_id of
82 and price_code_id of 1. For some reason the sql that is getting
generated by ActiveRecord is using prices.id = ''1'' rather than
prices.price_code_id = 1.
Not really sure what...
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 call that
function...
However this works...
<select name="media" id="media" onchange="<%= remote_function(...
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