Hey guys,
I posted the other day about scaffold not working and i was told that it
was rails 2.0 doing this. (btw i’m using adgile web development)
I have read on the internet that you need to put extra stuff like title,
description…
So i did this:
I recently put online a short tutorial which you may find useful. This
is mainly to help users of our IDE, Ruby In Steel, but it covers the
essential details of the Rails 2 scaffold generator syntax so it may
help you over this barrier
It’s because yo’re providing Product and Admin. Because of Rails
recent conversion to REST, the scaffold generator only generates
controllers based on the model name, in this case you’d have
Product/ProductsController. The reason it’s saying the arguments are
wrong is because it thinks Admin is supposed to be a field and you
didn’t provide a type.
Also, you can leave the sizes off I think. At least, OSX didn’t like
them being on there.
It’s because yo’re providing Product and Admin. Because of Rails
recent conversion to REST, the scaffold generator only generates
controllers based on the model name, in this case you’d have
Product/ProductsController. The reason it’s saying the arguments are
wrong is because it thinks Admin is supposed to be a field and you
didn’t provide a type.
Also, you can leave the sizes off I think. At least, OSX didn’t like
them being on there.
You might need to escape them, otherwise the shell might claim them
for its own (at least bash does, no idea what the windows shell would
do)
Huw,
I’m getting to the end of a large Rails project of which I developed
on my Windows XP machine. I’d sure like to have the extra money around
Xmas time to buy an Apple, but Santa isn’t helping.
Anyway, I observed that you seem to be in the Windows ‘camp’ while
using Ruby in Steel and wondered if your ‘group?’ might have learned
to address certain problems that occur in developing in the Windows
environment. (Of course I’m going to be hosting the app on a Linux
server, but it’d be nice to see it all really working).
attachment_fu - won’t work with S3 with some kind of timing issue
that no one can explain?
activerecord emailer? - won’t load emails into the ‘spool’ that are
served out when resources are available.
Anyway, I’d be grateful to hear from you, or anyone who is able to run
their entire program in a Rails environment on Windows. Many thanks…
Kathy
On Dec 22, 4:24 am, Huw C. <rails-mailing-l…@andreas-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.