Displaying 20 results from an estimated 68309 matches for "anyther".
Did you mean:
another
2008 Nov 13
6
.with(:anything) issue
Hi,
I''m using a expectation like this :
repository.should_receive(:add_gem).with("test.txt", :anything)
When I run my spec, it fails with the following message :
Spec::Mocks::MockExpectationError in ''MiniGemServer should add a new gem to
the repository after it has been uploaded''
#<MiniGemServer::Repository:0xb11164> expected :add_gem with
2006 Apr 24
3
Regex in HTML
So, I''m trying to write a nice bit of regex to handle finding anchor tags in
a bit of html.
This is what I''ve got....
/<[aA][^>]*>[^<]*<\/[aA]>/
I''m planning on using this with a gsub!.
Here is what it has to do....
<html><a href="http://stuff.com" class="link">Anything in here.</a></html>
As you can
2005 Mar 29
7
Fade Anything Technique (FAT)
Has anyone used the built in FAT (Fade Anything Technique) that exists in 0.11.1
of Rails? I could not find anything in the documentation so I was wondering if
anyone has any code snippets on how they used it?
Thanks for your help.
John
2009 Nov 19
4
Is there an variant of apply() that does not return anything?
There are a few version of apply() (e.g., lapply(), sapply()). I'm
wondering if there is one that does not return anything but just
silently apply a function to the list argument.
For example, the plot function is applied to each element in 'alist'.
It is redundant to return anything from apply.
apply(alist,function(x){ plot each element of alist})
2008 May 23
4
Is there an equivalent to anything() for Hash parameters?
Hi -- is there an equivalent to the anything() method to use with Hash
parameters?
So that the following call:
Model.find( :all, :conditions => "name LIKE ''%rt%''", :order => ''name''
)
Could have the two following successful examples:
Model.should_receive( :find ).with( :all, { :conditions => "name LIKE
''%rt%", anything }
2010 Jul 12
6
Project Management Solutions
I need to implement a solution and not having ever used anything but
MS Project I would be grateful for a reco on something good. The only
hope would be that its web based but I am open to anything!
Thanks!
jlc
2009 Nov 04
0
[LLVMdev] BasicAliasAnalysis: Null pointers do not alias with anything
On Wed, Nov 4, 2009 at 4:51 AM, Hans Wennborg <hans at hanshq.net> wrote:
>
>
> The reason is that it is unsure whether the null pointer which is passed in
> the call to @foo may alias with %t. Obviously, a null pointer doesn't alias
> with anything, because it's not legal to read or write through it (right?).
I don't remember whether LLVM's language spec
2006 Nov 28
1
find_by_contents never finds anything on my model
Hi,
Let me preface by saying I am very new to ferret and aaf.
Anyhow, I''m using the aaf plugin on a model named Book. This model isnt
a typical rails model in the fact that it doesnt have an "id" column as
its primary key but instead has a string column named ISBN that is used
as the primary key. When I try to search for anything in the model
using find_by_contents it never
2009 Nov 04
5
[LLVMdev] BasicAliasAnalysis: Null pointers do not alias with anything
This is the first patch I've sent to this project. Please be gentle :)
LLVM fails to remove the dead load in the following code when running
$./llvm-as -o - test.ll | ./opt -O3 -o - | ./llvm-dis -o -
%t = type { i32 }
declare void @foo(i8*)
define void @f(%t* noalias nocapture %stuff ) {
%p = getelementptr inbounds %t* %stuff, i32 0, i32 0
%before = load i32* %p
call void
2017 May 17
2
DNS (bind_dlz) forwarding not working
>
> Is anything else listening on port 53 ?
I don't think so.
# netstat -npl |grep 53
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN
27882/samba
tcp6 0 0 :::53 :::* LISTEN
27882/samba
udp 0 0 0.0.0.0:53 0.0.0.0:*
27882/samba
udp6 0 0 :::53
2008 Aug 01
4
DVI + VGA?
I have an LCD monitor with both VGA and DVI connectors on it, and a
video card to match (both connectors). If I want to switch from the
VGA (currently in use) to the DVI, do I need to do anything special
other than switch wires? I didn't see anything in google that was
helpful (though I may not have used a smashing search...).
Thanks.
mhr
2006 Feb 04
4
Test
Ok - I have not gotten anything since 6:03 am this morning. It's now
4:33 pm - has anyone gotten anything?
2014 Dec 23
1
"virsh list" does not show anything after reboot [newbie]
Hi, libvirt users and gurus,
I am a newbie to visualization, hope this question is not too silly,
please bear with me.
I had installed three guest on Fedora 21 with the virt-install tool, by:
virt-install --name=f21_x86_64_guest
--file=/var/lib/libvirt/images/guest.qcow2 --cdrom
/workStorage/work/down/f21/Fedora-Live-Workstation-x86_64-21-5.iso
--ram=2048
virt-install --name=f21_x86_64_guest1
2009 Sep 29
6
Dualboot CentOS and Windows
Hi,
I have to install CentOS on a spare partition of a laptop with
Windows pre installed. Is there anything I have to watch out for?
Couldn't find anything in the wiki or does the installer handle this
well without me doing some magic, or so?
TIA,
Frank.
2004 Feb 24
1
Inheriting from factors + co.
I'm trying to create a formal class that does the following:
1) accept objects of arbitrary class as .Data slot
2) provide a set of other slots that are of fixed type (as usual)
The following two approaches came to my mind:
A)
setClass("myclass", representation("ANY", x = "numeric", y
="numeric"))
new("myclass", 1:10) # works
2008 Jul 16
2
anyone know anything about using mod_deflate gzipping with Rails?
Anyone know anything about using mod_deflate gzipping with Rails? I''ve
got it enabled in our .htaccess but it doesn''t seem to handle gzip
anything going through Rails. Any ideas?
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send
2011 Mar 17
4
Syslinux 4.04-pre14: anything missing please holler
If there is anything that you think should have been in Syslinux 4.04
which isn't there please holler now.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
2006 Aug 13
7
you can pass multiple parameters using link_to? anything bad
i just found out i can pass mutiple parameters from views like
<%= link_to doctype.name, :action => "show_towns", :id => doctype.name,
:id2 => doctype.id%>
silly me, i always had the impression that i could only pass 1. i guess
i dont have to use sessions after all for my site. is there anything
wrong with this?
basically instead of the user filling out
2006 Jan 04
7
<% if ... -%> What is this?
I seen some RoR code that went like this:
<% if ...blah, blah... -%>
.. blah, blah
<% end -%>
What are the minus signs for in the if statement? Cannot seem to find
anything about this, and searching on "-" in this context is hard to get
anything meaningfull back.
Thanks,
- Mark
--
Posted via http://www.ruby-forum.com/.
2009 Sep 07
1
Why this statement does not print anything in an if-statement that includes 'q()'?
Hi,
I run the following script. I don't understand why the second
'length(args)' does not show anything but the first one shows '0'. Is
it because the command 'q()' affects anything in the if-statement.
However, if I change the second 'length(args)' to
'print(length(args))', the script will print the length of 'args'. Can
somebody let me know