Displaying 20 results from an estimated 3000 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
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/.
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
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.
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:
2006 Jun 06
5
Functional tests and protected actions
Hello!
I have certain methods in my Application Controller, that I need to access.
Namely ApplicationController#logged_in_user
The problem is, that when I try to access it, I get:
NoMethodError: protected method `logged_in_user'' called for
#<AdminController>
Any ideas how I can circumvent that?
Or are functional tests really not suited for any kind of logins and session
work?
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"