heithem nouira
2011-Mar-25 08:38 UTC
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 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bryan Crossland
2011-Mar-25 22:06 UTC
Re: generate models/controllers/migrations/scaffold within an existing plugin
On Fri, Mar 25, 2011 at 3:38 AM, heithem nouira <heithem.nouira-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>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. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.