[Rails] Re: How to pass parameters to a script in "lib" from termina

2009-01-09 Thread Harold A. Giménez Ch.
Well, you have to play nice with the "rules" of the command line (like no spaces etc). Also note that whatever comes into your rake task is simply a string. You would have to parse that string and build any object you need, such as a hash or array... Any code on how you're handling the params? On

[Rails] Re: How to pass parameters to a script in "lib" from termina

2009-01-09 Thread Joe Peck
I've put it in a raketask, works now, except for one thing; if I try to pass a hash to it as a parameter, it seems like it just stops. Hmm... -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to