Displaying 20 results from an estimated 4000 matches similar to: "Initialize, instance variable....wrong number of arguments!"
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 04
1
Problem with case / when conditional of db values
Hello *,
I have been trying to perform conditional actions in the controller
depending on values in the db - in this case, the object ''info'' and the
column ''status''. I would just like the controller to run an action
depending on the value in the column, in this case ''OPEN'' or ''SENT'':
1. def infoupdate
2. case
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
2008 Aug 15
7
Autotest and subclasses / namespaces
I am writing a controller admin/cities_controller.rb
it inherits from AdminController, so it''s defined like
class Admin::CitiesController > AdminController
Whenever I save the controller file, autotest freaks out:
uninitialized constant Admin::AdminController (NameError)
I''m pretty used to just hitting CTRL-C to get autotest to re-load all
the files, or flicking to
2008 Mar 28
10
Inheriting from AdminController intstead from ApplicationController
Hi
I would like to do the following:
I have created an admin namespace and the required folders app/admin
views/admin etc. And then I wanted all controllers under app/admin to
inherit from a controller named AdminController which resists under
app/admin/admin.rb instead of inhereting from ApplicationController,
so I could better separate between admin and public section. The
AdminController
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
2003 Jan 23
3
e2fsck too old / ext3 HTREE errors
hi,
i have a tricky situation here and and don't know where to start with
the solution.
i happened to set up a linux system, but i had to install the base
system on another machine. i used e2fsprogs 1.30-WIP (30-Sep-2002) for
this.
now the machine is up and running, but i have to use e2fsprogs 1.27
(8-Mar-2002). it's a debian system and i wanted to stay sane & stable,
hence using
2006 Apr 28
9
[AWDR] Tutorial in A4 wont ''destroy'' items
Hello,
I''m working through the tutorial, and I''ve run into a little snag. In
the first part of the tutorial, the destroy link is not working
correctly. I can''t figure out where I goofed. Removing :confirm doesn''t
seem to resolve the issue.
Thanks,
Randy.
development.log
----->8-----
Processing AdminController#destroy (for 127.0.0.1 at 2006-04-27
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
2006 Apr 22
3
Making a separate admin zone
Hi, im building a little cms and i want to separate the admin zone
controllers in a subfolder(controllers/admin) if possible to all be
managed by one login module, i just have managed simple 3 or 4
controller apps so any help you can give me will be very apreciated.
;)
--
Posted via http://www.ruby-forum.com/.
2005 May 07
1
WIP-5000 and DTMF
My WIP-5000 phone is working well with my Asterisk box now, except for DTMF.
All DTMF key presses come across as clipped or just clicks on the remote side.
I had this problem with my Sipura ATA as well, but fixed that by playing with
the settings on the Sipura device.
I've tried dtmfmode=inband and also rfc2833, but neither seem to work. I
don't see any place in the settings on the
2006 Mar 08
3
Namespace & Organisation Conventions
Hi All
I wanted a little advice on the convention for namespace usage and
organisation of code.
I originally used PHP and often had an "admin" backend that performed the
various admin tasks with users, and data
Then I had a front-end often situated at the root that had user services.
I''m trying to emulate this in Rails but feel I''m missing a significant point
here and
2001 Apr 01
3
Which are the steps to apply a Ext3 file system?
Im intending use Ext3 file system in my web farm.
Im using RedHat 6.2 (kernel 2.2.16-3) and Turbo Linux Cluster Server 6.0.
I have NO SUCCESS in path my own kernel.
I downloaded the following ext3 packages:
ext3-0.0.2f.tar.gz (linux-2.2.16-3.kdb.diff , linux-2.2.16-3.ext3.diff )
e2fsprogs-1.20-0.WIP.i386.rpm
e2fsprogs-1.20-0.WIP.src.rpm
e2fsprogs-1.20-0ext3.i386.rpm
2006 May 31
5
Sharing code between some controllers? Staying DRY
Hi,
I have four controllers: one for the store front and three for the
store admin. In each controller I have copied and pasted exactly the
same code. It is a method called redirect_to() to override Action
Controller''s redirect_to(). Copy and paste is bad. I can think of two
options but I don''t know how Rails will feel about them.
Option 1: Can I create an intermediate
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.
2016 Sep 24
4
RFC: ConstantData should not have use-lists
r261464 added a type called ConstantData to the Value hierarchy. This
is a parent type for constants with no operands, such as i32 0 and null.
Since then, I've removed most instances of iterating through the
use-lists of an instance of ConstantData. I'd like to make this
illegal. Since the users of ConstantData are spread across an
LLVMContext, most code that looks at the users is