Scaffolding in Plugins?
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!
RE: Scaffolding in Plugins? - Added by Gui MOC over 8 years ago
did you get an answer to your question ?
If anyone have the solution please post it.
RE: Scaffolding in Plugins? - Added by Richard Bössen over 8 years ago
It's simple: Just create an independent rails project with scaffolding and then copy models/views/controllers into your Redmine plugin!