search for: controller1

Displaying 20 results from an estimated 27 matches for "controller1".

Did you mean: controller
2010 Oct 14
7
undefined method?
...ng that I don''t know why rails thinks should be there. Firstly, I''m using rails 3, ruby 1.9.2 I have a controller with an index action This part works fine, but i am trying to add a comment form to the page that is rendered by that index action. Supposing my controller is named controller1, I began this process first with: rails g model comments name:string content:text rake rb:migrate Then I went on to define an action to create the comments: within contoller1_controller.rb I added ========= def new @comment = Comments.new respond_to do |format| format.html...
2007 Mar 16
1
sort_link_helper and cross-controller partials
Hello Rubyists, I ran into a problem with sorting a table (rendered in a partial) using the sort_link_helper methods after I have submitted data and re-rendered the table through an AJAX request. The setup is a follows: The table is a shared partial of Controller1 and Controller2 accessible via "shared/table". The AJAX''ed sorting using the sort helper works all fine on Controller1. An AJAX link in the table refers to a method named "mymethod" on Controller2. Controller2 does what is expected from it and does a render :partial =&...
2006 Jul 11
1
Can one controller use another''s Helper Methods?
If I have controller1 and controller2, how would controller1 call method Arf in controller2''s helpers? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2003 Oct 07
5
auto 'modprobe wct1xxp' on startup?
...ded. What is the recommended way to ensure this happens? I've been reading and found that modprobe (on startup, it appears) uses /etc/modules.conf, and here's what mine looks like: alias eth0 e1000 alias scsi_hostadapter megaraid alias usb-controller ehci-hcd alias usb-controller1 usb-uhci options torisa base=0xd0000 alias char-major-196 torisa #post-install wcfxs /sbin/ztcfg #post-install wcfxsusb /sbin/ztcfg #post-install torisa /sbin/ztcfg #post-install tor2 /sbin/ztcfg #post-install wcfxo /sbin/ztcfg post-install wct1xxp /sbin/ztcfg #p...
2006 Nov 04
0
sharing a partial across multiple controller views.
Hello, I was wondering if there was a way to share a partial across multiple controller views? In other words, if I have 2 controllers, the corresponding directory structure for the views of those conrollers would like so: views/controller1/<views> views/controller2/<views> I would like to share the partial between controller1 and controller2. Could I make a share directory under views/ and put my partial in there? How do I tell ruby to look in that directory? Thanks, Sam. -------------- next part -------------- An HTML...
2008 Mar 09
1
Two sample t-test
Hi, I want to perform t-test in R for each individual car. Here is what i have. Is there a way i can test each car? The original table (test.csv) Car Tester2 Tester2 Controller1 Controller2 Audi 0.56 0.9 0.5 0.9 Toyota 0.2 0.9 0.9 0.2 Honda 0.5 0.9 0.1 0.5 BMW 0.2 0.3 0.5 0.7 > cars<-read.table("c://test.csv",header=T,sep=",", + skip=2,comment.char="") > cars Toyota X0.2 X0.9 X0.9.1 X0.2.1 1 Honda 0.5 0.9 0.1 0.5 2 BMW...
2006 Mar 14
1
Controller detection order
...sing kernel panic at boot time. I've tried changing the order in modprobe to the following: alias eth0 tg3 alias eth1 tg3 alias eth2 e1000 alias eth3 e1000 alias scsi_hostadapter ata_piix alias scsi_hostadapter1 mptbase alias scsi_hostadapter2 mptscsih alias usb-controller ehci-hcd alias usb-controller1 uhci-hcd previously ata_piix was below the other two. This hasn't made any difference though. Can anyone suggest any solutions? thanks Nick
2004 Aug 02
1
avm c4, ptmp
...my last wish at teh moment this is my /etc/isdn/capi.conf: c4 /usr/sbin/c4.bin DSS1 - - - - capiinit now start c4 with no complain; in /etc/asterisk/capi.conf i have: [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] [controller1] msn=0xxxxxxxxxx incomingmsn=* controller=1 softdtmf=1 accountcode= context=default ;echosquelch=1 ;echocancel=yes ;echotail=64 ;callgroup=1 ;deflect=12345678 devices=2 ;mode=immediate isdnmode=p2mp asterisk starts without any complain but i'm unable to send or receive calls; when i receive a...
2006 Oct 27
2
0 channels configured with tdm400 (tdm04b rev. G)
Hi, Some weird problem (or I'm too sleepy) happens with a tdm04B revision G (4fxo) Steps: modprobe zaptel modprobe wctdm ztcfg -vv /etc/zaptel.conf fxsls=1-4 # TDM04B defaultzone=us loadzone=us /etc/asterisk/zapata.conf signalling=fxs_ls group=1 context=incoming channel => 1-4 modprobe zaptel and wctdm load fine, however ztcfg -vv shows: 0 channels configured Im using centos 4.4 with
2000 Feb 28
1
Failed RPC Call
...gic browseable = yes public = no writable = no write list = @strategic printable = no create mask = 0770 directory mask = 0770 force create mode = 0770 force directory mode = 0770 force group = strategic hide dot files = yes [VGCC_C1] comment = VGCC log backup directory for controller1 path = /home2/vgcc/controller1 browseable = no public = yes writable = yes printable = no create mask = 0000 directory mask = 0000 force create mode = 0220 force directory mode = 0000 force user = vgcc force group = vgcc hide dot files = yes [VGCC_C2] comment = VGCC log b...
2010 Apr 26
2
woriking under webrick but not under passenger
...ld_tag :password, params[:password] %> </p> <p><%= submit_tag "Login" %></p> <% end %> </fieldset> </div> ------------------------------------------- routes.rb ActionController::Routing::Routes.draw do |map| map.resources :controller1 map.resources :controller2 ... map.root :controller => "controller1" map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' end -- Posted via http://www.ruby-forum.com/. -- You received this message because y...
2005 Sep 06
7
Cookbook receipe for SCSI tape install requested.
I need to install an HP Surestore dlt on a Centos 4 machine and I am at a loss as to how to proceed. Can someone either provide or point me to an online reference on how to proceed to add and configure a SCSI adapter and tape drive. I have read, but not really understood, the man page entry for st. Does kudzu handle this? Regards, Jim I am a digest subscriber so the favour of an
2006 May 30
0
2 quick question about SaltedLoginGenerator
Hi all, I''m using the Salted Login Generator. It''s fantastic. And I have tow quick questions, wish you could give me a hint. 1. I have a few controllers, which all got "index" action. And how can I make login system pass Controller1::index, but restrict access to Controller2::index 2. When the user click the link to verify himself, I want to fill some my customised records in database for the initialisation of user preference. And wonder where is the best place to put these code in your login system. -- Many thanks, Yi ---...
2004 Aug 03
0
avm c4: DISCONNECT_IND ID=001 #0x0193 LEN=0014
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 i fixed wrong capi.conf (there was [controller1] after [interfaces]) now capi.conf is: ; ; CAPI config ; [general] nationalprefix=0 internationalprefix=00 rxgain=0.8 txgain=0.8 [interfaces] msn=855285,859609 incomingmsn=* controller=1,2,3,4 softdtmf=0 accountcode= context=local ;echosquelch=1 ;echocancel=yes ;echotail=64 ;callgroup=1 ;deflect=...
2006 May 01
4
When to make a new controller
Hey all, Ok this is probably a newb question, but I haven''t been programming with MVC for very long, and I''ve been wondering what the general opinion is, or best practices, for making a new controller. Like what cases would you need a new controller for and what cases can you just put everything into one controller? Thanks in advance, Randal -- Posted via
2004 Dec 13
4
Dispatcher? how to use long urls with slashes to call a controller
Hello rails, I have a controller called file with a method get that returns me a file from the db. want to do the following: When calling http://localhost:8080/file/get/11/hansi.txt i want that rails does the same as if i would call http://localhost:8080/file/get/11 This i not the case. I get a 404. This is useful as this makes the filename in the browser downloading the
2020 Jul 03
0
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...---------+ >>>> |? +------v------+?????????????????????????????????? +------v------+? | >>>> |? |???????????? |?????????????????????????????????? |???????????? |? | >>>> |? |???? EP????? |?????????????????????????????????? |???? EP????? |? | >>>> |? | CONTROLLER1 |?????????????????????????????????? | CONTROLLER2 |? | >>>> |? |???????????? <----------------------------------->???????????? |? | >>>> |? |???????????? |?????????????????????????????????? |???????????? |? | >>>> |? |???????????? |?????????????????????????...
2006 Jan 12
10
Broadcom NIC Binding under Centos 4.2
Hello all, I'm having unusual difficulty configuring teaming with Centos 4.2. The 2 NIC's are Broadcom. The HW is HP DL360 and there is no teaming driver for RHEL4 since it comes with package (says HP). Since there is no teaming driver from centos (as far as I know), I tried the Broadcom Driver, configured the team file, but the team just wont come up. A Virtual Interface should be up
2020 Jul 02
11
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...---------------------------------------------------------+ > | +------v------+ +------v------+ | > | | | | | | > | | EP | | EP | | > | | CONTROLLER1 | | CONTROLLER2 | | > | | <-----------------------------------> | | > | | | | | | > | | | | | | > |...
2020 Jul 02
11
[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication
...---------------------------------------------------------+ > | +------v------+ +------v------+ | > | | | | | | > | | EP | | EP | | > | | CONTROLLER1 | | CONTROLLER2 | | > | | <-----------------------------------> | | > | | | | | | > | | | | | | > |...