Displaying 2 results from an estimated 2 matches for "asfd".
Did you mean:
asf
2007 Jul 05
2
undefined method `original_filename' for "random.jpg":String
...l and an
attachment when creating the new log - this doesn''t work so well.
Here''s what params[:attachment] looks like for the journal/attachment
controller:
{"attachment"=>#<File:C:/DOCUME~1/ELVIS.PRESLEY/LOCALS~1/Temp/CGI.3208.2>,
"comment"=>"asfd"}
And here''s what params[:attachment] looks like for
log/journal/attachment:
{"attachment"=>"random.jpg", "comment"=>"asdf"}
As you can see, the one working correctly passes an actual file object
whereas the broken one just passes a stri...
2003 Feb 13
6
generic handling of NA and NaN and NULL
Hello everybody
I have a generic problem which the following toy function illustrates:
f <- function(n) {
if(abs(n) < pi) {
return(TRUE)
} else {
return(FALSE)
}
}
I want it to return TRUE if abs(n)<pi and FALSE otherwise. f() is
fine as far as it goes, but does not deal well with NA or NaN or NULL
(I want these to signal some problem with the