When was scafold_reource

When was scaffold_resource released?

I was under the impression form blogs and article that it was part of
rails 1.2
(e.g.
http://softiesonrails.com/2006/9/25/quick-guide-to-the-new-scaffold_resource-generator

But

$ rails -v
Rails 1.2.1
$ ruby script/generator scaffold_resource
ruby: No such file or directory – script/generator (LoadError)

On 2/3/07, Anton A. [email protected] wrote:

When was scaffold_resource released?

$ rails -v
Rails 1.2.1
$ ruby script/generator scaffold_resource
ruby: No such file or directory – script/generator (LoadError)

that error looks like a problem with your current working directory.
are you in a rails app when running that? can you run just ruby ./script/generator? if not then your path is the issue.

scaffold_resource generator is in 1.2

ed

Ed Hickey said the following on 02/03/2007 12:46 PM:

are you in a rails app when running that? can you run just ruby ./script/generator? if not then your path is the issue.

scaffold_resource generator is in 1.2

After much checking of rails, gems and whatever I realise that my
cut-and-paste from
http://www.softiesonrails.com/2006/9/26/extra-tip-regarding-scaffold_resource

I should have read the comments!

DUH! (thunk on the head!)

/a

The only time you have too much fuel is when you’re on fire.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs