similar to: Problem with case / when conditional of db values

Displaying 20 results from an estimated 4000 matches similar to: "Problem with case / when conditional of db values"

2006 Apr 29
11
Multiple actions from one form - possible?
Hello * Obviously the rhtml below does not work, but it should be apparent what I try to achieve - I would like to give the user the choice to submit a form either to action1 or action2 but I cannot figure out how?! It would be great if someone could give some assistance. Thanks a lot, Alex <%= start_form_tag :action1 => ''save'', :action2 =>
2006 May 14
2
Initialize, instance variable....wrong number of arguments!
Dear RoR Community My new RoR experience went really smooth for some time until I got stuck with a seemingly easy problem and the more I have tried to read about it (PickAxe, Agile WD, forum, etc.) the more confused I got! What I have done so far as a newbie is to use the scaffold and then build my own ideas around it. What I am trying to do now is allow/disallow an action in the input form
2008 Feb 06
15
[Bug 14393] New: NV11 card is not detected properly by nouveau on big-endian box
http://bugs.freedesktop.org/show_bug.cgi?id=14393 Summary: NV11 card is not detected properly by nouveau on big- endian box Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo:
2008 Apr 09
8
Testing basic direct x capability
Hi, I am running wine 0.9.58 and having problems running Counter Strike: Source, Rainbow Six 3: Raven Shield. I think this is caused by the direct x layer in wine. My system runs opengl programs fine using the ATI driver (Radeon 3850). Is there any way I can test directx functionality without having to download a game? Dxdiag.exe is not included in wine. Best regards, Chris
2008 Feb 19
8
[Bug 14567] New: Randr 1.2 fails on nv17 lvds in a Dell Inspiron 8100 ( continued from 14491)
http://bugs.freedesktop.org/show_bug.cgi?id=14567 Summary: Randr 1.2 fails on nv17 lvds in a Dell Inspiron 8100 (continued from 14491) Product: xorg Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2008 Aug 18
16
[Bug 17185] New: Black Display when using Nouveau on 7300gt with dvi to hdmi attached Sony 32W4000
http://bugs.freedesktop.org/show_bug.cgi?id=17185 Summary: Black Display when using Nouveau on 7300gt with dvi to hdmi attached Sony 32W4000 Product: xorg Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
2011 Jan 03
13
Re: pvusb drivers for pvops 2.6.32.x kernel
Hello, Jeremy: See the included patch. If it''s OK it''d be nice to get it into xen/stable-2.6.32.x branch. Thanks Nathanael! -- Pasi ----- Forwarded message from Nathanael Rensen <nathanael@polymorpheus.com> ----- From: Nathanael Rensen <nathanael@polymorpheus.com> To: Pasi Kärkkäinen <pasik@iki.fi> Cc: n_iwamatsu@jp.fujitsu.com Date: Mon, 3 Jan 2011
2007 Aug 13
3
Very new - beginners questions
Dear all, I have 4 sites and want to determine how different they are from each other. For this I have decided to use R though it seems a bit daunting to learn. I have read data in from a CSV the structure is : Species1 Species2 Species3 Site1 4 4 7 Site2 3 1 0 Site3 0 99 6 Site4 75 3 33 There are many more species than shown above this is just an example. Here are the
2004 Nov 29
4
Gentoo and Asterisk - any experiences?
Hi, In constant search for optimization, a friend told us about his experience with Gentoo Linux-distro. He claimed that he doubled the performance of his server by changing to Gentoo from Debian. Does anyone have any experience with running Asterisk on a Gentoo linux? /Niels --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.801
2005 Mar 10
24
(Online) documentation for 1.0
With the big One-Oh on it''s way, I''m thinking we should perhaps start to work on the documentation some more. The RDoc format is perfectly fine, and does its job beautifully, but I think it doesn''t quite reflect the whizbang value that rails has, especially for newcomers. As one who has looked at the api docs almost daily for several months, I feel quite comfortable
2007 Dec 11
2
Build issues on Leopard
Hello, I''m having some issues building r190 on Leopard (10.5.1): $ rake (in /Users/johan/temp/superredcloth) ragel superredcloth_scan.rl | rlgen-cd -G2 -o superredcloth_scan.c ragel superredcloth_inline.rl | rlgen-cd -G2 -o superredcloth_inline.c /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for main() in -lc... yes creating Makefile make gcc -I.
2008 Feb 14
8
[Bug 14491] New: enabling randr-1. 2 support causes LVDS unknown config bits error when starting the X server
http://bugs.freedesktop.org/show_bug.cgi?id=14491 Summary: enabling randr-1.2 support causes LVDS unknown config bits error when starting the X server Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component:
2009 Dec 11
2
Closing event on a Notebook page.
How do I catch a closing event for a Notebook page. I have added a number of pages (class Panel) to a Notebook and I can remove them via the default close button on the pane. But I what to run some code before the page(Panel) is closed, so I assumed that it gets a ''evt_close'', but that seems not to be the case. How do I get to run some code before the page(Panel) closes?
2007 Jun 26
4
Fake SSL in specs when using ssl_requirement plug-in
Hi I''ve used the ssl_required line from the ssl_requirement plug-in at the start of a controller for SSL. Its implemented as redirects so I can spec this... describe "GET /gap/get_qote" do controller_name :gap it "should redirect to the HTTPS version of the action" do get ''get_quote'', :id => "finance"
2009 Nov 06
2
DatePickerCtrl uninitialized constant
I trying to make a Dialog that include a DatePickerCtrl on my gentoo linux box. I get the following error /usr/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:478:in `const_missing'': uninitialized constant PortfolioDialog::DatePickerCtrl (NameError) My application use ActiveRecord, thats why the error is from activesupport. gem list says wxruby (1.9.9,
2007 Jul 09
12
Mocking User.find( :all, :limit => 10 )
Hi, I''m trying to setup a mock for my controller test but I can''t get it to recognise the mock. I use it "should find all users" do User.should_receive(:find).with( :all, :limit => 10 ).and_return([@user]) do_get end and in the controller @users = User.find(:all, :limit => 10 ) But this does not work. It gives me User expected :find with (:all)
2008 Aug 24
2
Missing ids in documentation
I notice some link that didn''t work in the documentation. By closer inspection I found that some of the headlines missed id-tags. The following grep sequence find them. grep ''<h3'' *.html | grep ''#'' | grep -v ''id='' Here is the output brush.html:<h3 class="Brush_getcolour">Brush#get_colour</h3>
2011 Jan 06
11
[RFC PATCH v01] Xen PVSCSI drivers for pvops xen/stable-2.6.32.x kernel
Hello, http://pasik.reaktio.net/xen/patches/xen-pvscsi-drivers-linux-2.6.32.27-pvops-v01.diff This is the first version of Xen PVSCSI drivers, both the scsiback backend and scsifront frontend, ported from Novell SLES11SP1 2.6.32 Xenlinux kernel to pvops xen/stable-2.6.32.x branch. At the moment it''s *only* compile-tested with the latest xen/stable-2.6.32.x git kernel as of today
2005 Dec 27
9
2.6.14 - HTB/SFQ QoS broken?
Hello, First of all, I already contacted Martin Devera, the developer of HTB, and he told me to search for help on this mailinglist, thus I am describing my problems here now... I am kind of seriously annoyed by QoS as I have been trying for over 3 years to get it working properly - first I did not understand how it works, then it seemed not to work, then it was working perfectly for half a
2012 Feb 10
3
Installing from source missing -lruby18 in linking.
I am trying to build wxruby from source, but I have encounter an error. For some reason the ''rake'' command fail when it tries to link lib/wxruby2.so because it is missing missing -lruby18 resulting in errors like wx.cpp:(.text+0x1618): undefined reference to `rb_intern'' wx.cpp:(.text+0x165c): undefined reference to `rb_eNotImpError'' wx.cpp:(.text+0x1666):