Hye,
I''ve use various generators and none did that. They all provide
install instructions about what to perform to complete
the installation, that''s all.
2005/9/29, Fabien Penso
<fabienpenso-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> Hi,
>
> I am writing a generator that has to put content in the
> app/controllers/application.rb (methods and "before_filter"
lines.
>
> Is there an easy way to do that, even if
> app/controllers/application.rb exists, and just add the methods
> instead of overwriting the file if the users generates to a running
> rails application ?
>
> I searched but haven''t found much informations about the generator
in general :)
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
-Tout ce qui n''est pas donné est perdu - Hasari Pal