On Oct 5, 10:25 pm, hal
<he...-VB7vxwriQfy6NMhornyX/PXRex20P6io@public.gmane.org> wrote:
> I have done it before with an earlier version of rails eg :
>
>
Rails::Generator::Scripts::Generate.new.run([''model'',@name])
>
> but I am not sure of the command in Rails 3, and the
''require''
> statements to ensure I won''t get any ''no such file
errors''.
>
> There is plenty of documentation on how to create a generator but not
> the more basic step of how to run the existing ones,
>
I don''t know exactly how generators have changed but I''m
curious - why
would you want your app to be running generators on itself at
runtime ?
Fred> thanks in advance,
> Hal
--
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@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.