On Monday, May 23, 2011 8:45:58 AM UTC+2, paulca wrote:
>
> > I think these extensions are just the hints to call a chain of  template
> > renderers under Sprockets & Tilt. So .js.coffee.erb would first render 
> with
> > ERB, then CoffeeScript. I read thru the Sprockets & Tilt source and you 
> can
> > just keep tacking these things on. Pretty clever in my book.
>
> Yep : DHH showed this exact feature last week at RailsConf.
>
That's pretty rad, but it doesn't explain what are ".js" and ".css" hints 
for.

I'm pretty sure that the whole Sprockets feature stack would work even 
without those. I'm wondering about the rationale of making this the default 
recommended style (by making generators create them).

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to