Project

General

Profile

Scaffolding in Plugins?

Added by Richard Bössen almost 15 years ago

Hello!

I'm new at Rails and Redmine - but Redmine is very impressiv.

I tried to script a little plugin, jus a model with scaffolding.

Plugin creation works with the redmine_plugin_model generator.

But now I want to do a simple

script/generate scaffold ModelName field1:type

but this doesn't work - is there any way to use scaffolding with Redmine?

Thanks for your good Redmine-work!

Richie


Replies (2)

RE: Scaffolding in Plugins? - Added by Gui MOC almost 15 years ago

HI,

did you get an answer to your question ?

If anyone have the solution please post it.

Thanks,

Guillaume

RE: Scaffolding in Plugins? - Added by Richard Bössen almost 15 years ago

It's simple: Just create an independent rails project with scaffolding and then copy models/views/controllers into your Redmine plugin!

;-)

    (1-2/2)