Hi guys i already installed ruby, i started creating my first database
an
my table cliente, but when i’m trying to create the model and the
controller
with the command scaffold, i got a message " no such file or directory".
when i type in my directory: script/generator scaffold cliente i got
this
message, what can be the problem, because a friend told me it works for
him.
Thanks for the answer.
–
Ronny Yabar Aizcorbe
Software Developer
----Linux Registered User #431942
----E-Mail :ronnycrema85(at)gmail.com
----Blog :http://ronnyonline.blogspot.com
----Telefono fijo: (054)431792
----Celular : (054)9791179
“Un hacker es aquella persona que le apasiona el conocimiento, descubrir
o
aprender nuevas cosas y entender el funcionamiento de éstas.Los hackers
resuelven problemas y construyen cosas, y creen en la libertad y la
ayuda
voluntaria mutua. Para ser aceptado como hacker,
deberás comportarte como si tuvieras esta actitud en tu interior. Y
para comportarte como si tuvieras esta actitud, deberás creerte de
verdad dicha actitud.” Erick Raymond
Ronny Yabar Aizcorbe wrote:
with the command scaffold, i got a message " no such file or directory".
when i type in my directory: script/generator scaffold cliente i got
this
My guess would be that you are not executing the command from your
application directory or that you haven’t installed Rails yet…
p.s. Some here are hostile to rails related posts on the ruby forum,
please ask them on the rails forums.
ilan
On Thu, 2007-01-04 at 07:07 +0900, Ronny Yabar Aizcorbe wrote:
Hi guys i already installed ruby, i started creating my first database an
my table cliente, but when i’m trying to create the model and the controller
with the command scaffold, i got a message " no such file or directory".
when i type in my directory: script/generator scaffold cliente i got this
message, what can be the problem, because a friend told me it works for him.
Thanks for the answer.
You need an extra argument
script/generate scaffold
try script/generate scaffold
(without arguments) for help with the arguments.
Also, As a newcomer myself, I’m going to caution you against using
scaffolding. It will only cause you heartache and pain in the long run.
And when you came back to ask for help, the experts around here will
tell you to get rid of the scaffold code and code it by hand, of course
they are kind enough to show you how too 
Hope it helps
Matt
On 1/3/07, Ilan B. [email protected] wrote:
Ronny Yabar Aizcorbe wrote:
p.s. Some here are hostile to rails related posts on the ruby forum,
please ask them on the rails forums.
It’s usually just sound advice to point people towards the rails
community since it is a more direct route to help and also because
the list volume is quite high here and a rails focus would make it
even higher.