Displaying 7 results from an estimated 7 matches for "amethods".
Did you mean:
methods
2007 Feb 15
17
Odd parameter munging with with()
Hi,
I have this setup block:
setup do
session[:login] = ''jhughes''
@user = mock("user")
User.stub!(:find).and_return(@user)
@params = {:cn => "Bilbo Baggins",
:telephoneNumber => "416-277-4418",
:mail => "bilbo at baggins.com"}
end
And then this spec:
specify "should update and save the
2013 Jun 28
3
problem with eval(..., parent.frame(1L)) when package is not loaded
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The lmer() function in the lme4 package has some code of the form
mc <- match.call()
mc[[1]] <- as.name("lFormula")
lmod <- eval(mc, parent.frame(1L))
this is a fairly common idiom in R, found e.g. in lm(), used when
one wants to pass all of the arguments of a function to a different
function (in the case of lm() it's
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
i tried a method to implementa file uploader by using amethod below
this is ma controlller method to upload
def save_imports
Contactslist.save(params[:list])
render :text => "File uploaded successfully"
this is ma view file
.remote
- form_for(@list, :url=> save_imports_list_path(@list, :format =>
"js"), :html => { :multipart => true,
2005 Jan 08
1
sub( , perl = TRUE) overflow (PR#7479)
...paces)
> trimwhitespace(paste(x, "abc"))
[1] "abc\0\0\002\0\002\0\001\0\001\004\0\0\0\a\003\0\0\004\002\0\0\0\001\0\0\024 \0\0\0\005class\0\0\006\020\0\0\0\001\0\0\004 \0\0\0\024groupGenericFunction\0\0\004\002\0\0\0\001\0\0\024 \0\0\0\apackage\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\amethods\0\0\0?\0\0\004\002\0\0\0\001\0\0\024 \0\0\0\fgroupMembers\0\0\004\023\0\0\0\a\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\001+\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\001-\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\001*\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\001^\0\0\004\020\0\0\0\001\0\0\004 \0\0\0\002%%\0\0\004\02...
2006 Jul 17
0
error_message_on / error_messages_for
Hi,
just a simple question between error_message_on / error_messages_for ...
Well, if you use error_messages_for in your web page, there is no
problem even if anObject==nil (for example , the first time you load
your form) whereas error_message_on must be use with an instanciated
object ...
So, you always has to double check if anObject is not nil before using
error_message_on ?
I
2010 May 07
1
Protecting elements within a function
Hi all, previously I submitted this thread through Nabble which seems fail therefore sending it again....
suppose I have written following function :
> fn = function(x) return(x+x^2)
> fn
function(x) return(x+x^2)
Here you see, if I type only the function name all inside information of this function are visible. Is there any way to protect them i.e. make them invisible?
Thanks
2007 Sep 13
0
2 commits - libswfdec/swfdec_as_function.c test/trace
libswfdec/swfdec_as_function.c | 9
test/trace/Makefile.am | 117 ++++++++++
test/trace/scope-chain-did-you-understand-5.swf |binary
test/trace/scope-chain-did-you-understand-5.swf.trace | 1
test/trace/scope-chain-did-you-understand-6.swf |binary