Active_scaffold

Following this tutorial for setting up ActiveScaffold with Rails3:

and, when I run the following command:

rails g active_scaffold_setup [prototype| jquery]

I get the following:

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
[prototype| jq
uery]
‘jquery]’ is not recognized as an internal or external command,
operable program or batch file.

Why is that?

Thanks.

And, also:

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
[prototype]
Could not find generator active_scaffold_setup.

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
[jquery]
Could not find generator active_scaffold_setup.

On Sep 22, 8:21 pm, Abder-Rahman A. [email protected] wrote:

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
[prototype| jq
uery]
‘jquery]’ is not recognized as an internal or external command,
operable program or batch file.

Why is that?

Because you’re supposed to run either rails g active_scaffold_setup
prototype or rails g active_scaffold_setup jquery depending on which
js library you’d rather be used/

Fred

Frederick C. wrote:

On Sep 22, 8:21�pm, Abder-Rahman A. [email protected] wrote:

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
[prototype| jq
uery]
‘jquery]’ is not recognized as an internal or external command,
operable program or batch file.

Why is that?

Because you’re supposed to run either rails g active_scaffold_setup
prototype or rails g active_scaffold_setup jquery depending on which
js library you’d rather be used/

Fred

Thanks @Fred.

This is what I get:

C:\Users\Abder-Rahman\Desktop\howto>rails g active_scaffold_setup
prototype
Could not find generator active_scaffold_setup.

Why?

radhames brito wrote:

in linux the | symbil means or in many cases and brackets [ ]
means
optional

Thanks @radhames. If you see my preceding posts you will find that I
don’t get the command to run. I don’t know where is the issue.

in linux the | symbil means or in many cases and brackets [ ]
means
optional

i suggest you dont user active scaffold until you know more about rails,
it
is only useful if you dont want to learn and are lazy

pass the command without brackets

radhames brito wrote:

i suggest you dont user active scaffold until you know more about rails,
it
is only useful if you dont want to learn and are lazy

@radhames. The case I want to use ActiveScaffold is that there is a very
quick application I have to get done. But, as you see, stuck in that
command.

oh ok i see you cant get the generator to work. i have done an app with
active scaffold ill see what i did with it and give you an answer

im looking at the wiki and there is no rails 3 version of active
scaffold!

radhames brito wrote:

oh ok i see you cant get the generator to work. i have done an app with
active scaffold ill see what i did with it and give you an answer

Thanks a lot @radhames. I really appreciate your efforts.

radhames brito wrote:

im looking at the wiki and there is no rails 3 version of active
scaffold!

Check this: Home · vhochstein/active_scaffold Wiki · GitHub

On 22 September 2010 21:39, Abder-Rahman A. [email protected]
wrote:

radhames brito wrote:

im looking at the wiki and there is no rails 3 version of active
scaffold!

Check this: Home · vhochstein/active_scaffold Wiki · GitHub

What command did you use to install it?

Colin

Colin L. wrote:

On 22 September 2010 21:39, Abder-Rahman A. [email protected]
wrote:

radhames brito wrote:

im looking at the wiki and there is no rails 3 version of active
scaffold!

Check this: Home · vhochstein/active_scaffold Wiki · GitHub

What command did you use to install it?

Colin

I used this command:

rails plugin install git://github.com/vhochstein/active_scaffold.git

But, I don’t get any response after running this command!

On 22 September 2010 21:42, Colin L. [email protected] wrote:

On 22 September 2010 21:39, Abder-Rahman A. [email protected] wrote:

radhames brito wrote:

im looking at the wiki and there is no rails 3 version of active
scaffold!

Check this: Home · vhochstein/active_scaffold Wiki · GitHub

What command did you use to install it?

And which folder were you in when you ran it?

On 22 September 2010 21:48, Abder-Rahman A. [email protected]
wrote:

Colin

I used this command:

rails plugin install git://github.com/vhochstein/active_scaffold.git

But, I don’t get any response after running this command!

If there was no response I suspect it did not work. Have you got git
installed?
If it did install the plugin you should see it under the vendor dir in
your app (or wherever it goes in Rails 3).

Colin

Colin L. wrote:

On 22 September 2010 21:42, Colin L. [email protected] wrote:

On 22 September 2010 21:39, Abder-Rahman A. [email protected] wrote:

radhames brito wrote:

im looking at the wiki and there is no rails 3 version of active
scaffold!

Check this: Home · vhochstein/active_scaffold Wiki · GitHub

What command did you use to install it?

And which folder were you in when you ran it?

The Rail’s project folder.

I got the command run after cloning the plugin from git and manuallly
moving it to vendor/plugins in the Rails application folder.

Thanks all.

Colin L. wrote:

On 22 September 2010 21:48, Abder-Rahman A. [email protected]
wrote:

Colin

I used this command:

rails plugin install git://github.com/vhochstein/active_scaffold.git

But, I don’t get any response after running this command!

If there was no response I suspect it did not work. Have you got git
installed?
If it did install the plugin you should see it under the vendor dir in
your app (or wherever it goes in Rails 3).

Colin

I have git installed.

Under vendor/plugins

I see an EMPTY active_scaffold folder.

Does cloning active_scaffold and manually inserting it in the “plugins”
folder do the job?

I’ll try it out.