similar to: Problem with response.should render_template

Displaying 20 results from an estimated 300 matches similar to: "Problem with response.should render_template"

2007 Jun 05
6
Help with spec controller
Hello, I haven''t been able to create a controller spec. You can see the code here: http://pastie.caboo.se/67980 The error message I''m getting is: Spec::Mocks::MockExpectationError in ''PersonController should tell the Person model to create a new person on POST to create'' Mock ''person'' received unexpected message :save with (no args)
2007 Aug 06
5
Problems with array mock
Hi everyone, I''m trying this in my helper spec and it didn''t work: @curr_odontogram.should_receive(''photos[1]'').and_return(@photo) and the error is: SyntaxError in ''PersonHelper Deberia devolverme un link para eliminar una foto'' compile error /home/gramos/src/rails/r-dental/config/../vendor/plugins/rspec/lib/spec/mocks/proxy.rb:99: syntax
2007 May 29
5
Trouble defining a stub method for a controller
Hello, Not sure if I am doing something really wrong (let''s not say stupid for now), but I haven''t been able to stub a controller method like: controller.stub!(:logged_in?).and_return(true) Please help, this is driving me nuts ;-) -- An?bal Rojas http://www.rubycorner.com http://www.hasmanydevelopers.com
2008 Jun 06
2
Problems with view spec and mocking will_paginate
Hi all, I have some failures that not I don''t understand this the pastie with index.erb.html http://pastie.org/private/zgohh6dcts04wpfagfgz5q and this is the pastie for view''s spec: http://pastie.org/210485 and the failure: 1) ActionView::TemplateError in ''/posts/index.html.erb should render list of posts'' undefined method `count'' for
2007 May 22
2
find :all :include broken on Oracle 10
Hi, I am trying the following in Ruby using InstantRails 1.7 on WindowsXP Publication.find(:all, :include => [:doc_type, :release_state] ) but I get the error: OCIError: ORA-00904: "DOC_TYPES"."PUBLICATION_ID": invalid identifier: SELECT publications.id AS t0_r0, publications.docid AS t0_r1, publications.doc_type_id AS t0_r2, publications.title AS t0_r3,
2011 Sep 18
2
R-Help
Hi, my name is Gastón. I just read a question, made by Walter Durka, about a nonparametric discriminant analysis. It wasn´t any answer, and I was wondering if at this moment there is one. I have the same problem as W. Durka. I´m trying to classify and to cross-validate samples of three tunicates species based on morphometric data and to identify the variables that best discriminate between
2008 May 23
2
Some problems with Sweave
Dear R users, I'm working in a brief R-tutorial to a group of students. To make that I'm using Sweave but I've got two problems: First, I want show how R operates with the matrix type but, I write in the .rnw document the code <<echo=T,results=tex>>= matriz <- matrix(vector,nrow=3,ncol=6) matriz @ and after compilating the LaTex document I obtain in the pdf the next
2007 May 25
2
Switch back to mount after fallback
Hi Geoff, Geoff Shang wrote: > Hi, > > That's what fallback-override is meant to do. Are you saying that it's not > working for you? Not working. But what is wrong? I've added the second mount to icecast.xml and tested whether it switch back to the original mount point. The mount part of icecast.xml: <mount>
2008 Jun 10
1
Refactoring''s code needs refactoring''s specs?
Hi guys, I have one question: When refactoring the working code I need or should refactoring the specs too? My old code is: http://pastie.org/private/gpskgtavm4yzutanq1ro3w My new refactored code: http://pastie.org/private/2emgi1hr5iga3m9jib4q and the specs that are still passing without refactoring: http://pastie.org/private/qn3uaoin0k2n8vjsusssg Regards. -- "Most of you are
2007 May 25
2
Switch back to mount after fallback
Hello icecast user, That's my first post to this list, because everything works fine :) But now I'm missing a feature and I'm not sure if it is possible to realise. I have two mounts. Only one defined in the configuration: <mount> <mount-name>/gast.ogg</mount-name> <fallback-mount>/offline.ogg</fallback-mount>
2020 Apr 17
3
Convertir lista de precios a dolares por gramo
Se ha borrado un adjunto en formato HTML... URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20200417/11369880/attachment.html>
2009 Sep 05
1
Windows Users cannot change password on PDC Samba Server
I've this problems. I'm using on my smb.conf # Sincronizacion de cuentas LDAP, NT y LM # unix password sync = Yes ldap passwd sync = Yes passwd program = /usr/sbin/smbldap-passwd -u "%u" passwd chat = "Changing *\nNew password*" %n\n "*Retype new password*" %n\n" [2009/09/03 14:05:16, 1] smbd/chgpasswd.c:change_oem_password(1057) Sep 3 14:05:16
2007 Jun 28
1
Error en assign(mname, def, where)
Hi R users, I am working with the fda package but when I call the function pca.fd I obtain a message error, which I cann't identify. The error say That : error in assihn(mname,def,where), is not possible to add links to a blockade enviroment. The orther that I'm writting is: > cp1 <- pca.fd(ind.fd1,nharm=3) and before it I can to plot the functional data object ind.fd1. ?Have
2010 Feb 02
3
deny=yes in userdb
I would like deliver to reject certain users. Since supposedly deliver only uses userdb, not passwd, I can't use deny=yes for that. Or does userdb support deny=yes? Yes, I should rather reject them right in the MTA, but that currently takes too long to implement. Or how to reject gast* in postfix using nss authentication?
2009 Jun 08
2
nmbd-daemon fails on startup without error
_________________________________________________________________ http://redirect.gimas.net/?n=M0906xWLM2009 Neu: Messenger 2009! Hier kostenlos downloaden!
2015 May 21
2
STATUS_SHARE_VIOLATION when Read while Write on GPFS + CTDB
Hi, in the following scenario I've got the Problem of "STATUS_SHARE_VIOLATION". Client A (with User 1) copies a file to share X. (with: DENY_NONE 0x120196 WRONLY NONE) Client B (with User 1) reads this file from share X (with: DENY_NONE 0x120089 RDONLY NONE) Now Client C (with User 1) wants also to read this file from share X and gets the STATUS_SHARE_VIOLATION.
2009 Jun 20
2
Special characters in Rd example section will cause errors
Hi (Duncan?), The other day I noticed some characters will cause errors in R CMD CHECK because of parse_Rd(), and AFAIK, these chars include '%', '{' and '}'. For example, note the comments in the example section: %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% \name{testfun} \Rdversion{1.1} \alias{testfun} \title{ A Test } \description{ A test } \usage{ testfun() } \value{ NULL }
2015 Jun 05
2
Antw: Re: STATUS_SHARE_VIOLATION when Read while Write on GPFS + CTDB
Hello Volker, I was able to get those level 10 logs - spitted by machine. Unfortunately I don't know how attachments behave - Groupwise seems not to be happy with those - so I try the redundant way: Here are the logfiles for this event (only one machine, one try): https://www.bitmammut.de/WDR/log.klnmszap32 In this file there are about 3 occurrences of the
2004 Feb 19
1
Migrate NT4 Dom -> Samba 3.0.2a
Hi, I'm testing the migration of an NT4 Domain onto a Samba-Server. Now I'm at the point to migrate users and maschine accounts. It works fine for some users but not for all! This is the output: <- # net rpc vampire -w samba Fetching DOMAIN database SAM_DELTA_DOMAIN_INFO not handled Creating account: Administrator Creating account: Gast [2004/02/19 12:40:28, 0]
2004 May 03
1
Problem with net rpc vampire - Samba 3.0.2a
Hello i have a running Samba 3.0.2a Server on a SuSE Linux 9.0 dist. i have configure my samba 3.0.2a for a BDC and i log in to the domain i want migrate. first i did this for joining the domain : linux:~ # net rpc join -S DEMONT01 -w DOMNT -U Administrator%Server Joined domain DOMNT. then i did this for migrate the user and groups linux:~ # net rpc vampire -S DEMONT01 -U