Displaying 3 results from an estimated 3 matches for "thelo".
Did you mean:
helo
2011 Aug 26
17
strings issue
Hi everybody,
I ve got a problem with strings and the class File in rails
Indeed, when i try to do this:
File.new("archives/sequences/archives-2011.xml")
it works perfectly, however when i do
string = "archives/sequences/" + @filename => filename being
"archives-2011.xml"
File.new(string)
it doesn''t work!
ruby tells me it cannot find the file
does
2011 Aug 12
9
What is Ruby on Rails able to do?
...hese questions.
Basically, it is possible to execute shell commands from a rails pages
(eg: I want to launch a c++ program)?
Can it define a drawing area? ( if I want to draw charts and so on ) ?
can we parse xml files?
Actually, my question is, can Rails the same thing that Ruby?
Thanks a lot,
Thelo
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, s...
2011 Aug 28
6
Class Variable
Hi everyone,
I have a question about class variable in Rails:
I have a class Point that contains an class variable
@@color_points="green"
In a first web Page I want to set up this variable, hence i do
Point.color_points = "green" then i test it using puts
Point.color_points ( = green, it works,yes!)
Then i have a link_to instruction that points to another web page.
On this