thelo.g thelo wrote in post #1018731:
> @7stud no I do not, I might have bad explained the problem. the thing is
> when i perform the following code:
>
> No such file or directory -
> ./archives/results/Archives-2011-08-26-09-56-00-UTC.xml
> Extracted source (around line #1):
>
> <% r = Result.find(@result).nameFile %>
> <% string = "./archives/results/" + r  %>
> <% f = File.open(string) %>
>
> I got this error:
> No such file or directory -
> ./archives/results/Archives-2011-08-26-09-56-00-UTC.xml
> Extracted source (around line #1):
>
> 1: <h1>Résultat</h1>
> <p>id :<%= @result %>
>
>
> <% r = Result.find(@result).nameFile %>
> <% string = "./archives/results/" + r  %>
>> So when i replace string by
>> "Archives-2011-08-26-09-56-00-UTC.xml"

('./archives/results' + r) is not the same thing as 
"Archives-2011-08-26-09-56-00-UTC.xml"

You have proved nothing.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to