On Mon, Feb 1, 2010 at 6:11 AM, Kristian <kmand...@gmail.com> wrote:
> Been working a bit lately on implementing Rails app. templates and
> generators. It is clear there is a lot of overlap and that features
> from generators could be used in app. templates and vice versa.
> I will try to port some of the generator features such as the template
> function (executing an .erb file and saving the resulting content as a
> file in a specific location) to be used with app. templates, perhaps
> as an app. templates extension (gem?).
>
> What do you think? Is this already possible and convenient by other
> means?

As I understand it, Rails 3 is making generators and app templates
work on the same code base.

<http://caffeinedd.com/guides/331-making-generators-for-rails-3-with-thor>
<http://benscofield.com/2009/09/application-templates-in-rails-3/>

-- 
Rick DeNatale

Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to