Generate models/controllers/migrations/scaffold within an existing plugin

Hi, i have newly discovered Rails , and currently trying to write a
plugin.
the problem is that i couldn’t find any generators script (like script/
generate or rails generate) to add models or migrations.
i want to add them smoothly like in the standard application.
i need your help.
thanks in advance

On Fri, Mar 25, 2011 at 3:38 AM, heithem nouira
[email protected]wrote:

Hi, i have newly discovered Rails , and currently trying to write a
plugin.
the problem is that i couldn’t find any generators script (like script/
generate or rails generate) to add models or migrations.
i want to add them smoothly like in the standard application.
i need your help.
thanks in advance

Now you have discovered the documentation that will allow you to answer
your
above question.

http://guides.rubyonrails.org/getting_started.html

B.

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