Hi Colin,

thanks for the reply. I found this link:
http://code.dblock.org/ShowPost.aspx?Id=205 which is quite helpful, and
jammit-s3 includes some code that could be copied as well.

To answer your question, I think it probably should be put into sprockets,
as sprockets is handling all the name mangling and image referencing, and
other tools like jammit-s3 have different strategies for versioning assets.


On Tue, Jun 14, 2011 at 2:50 PM, Colin Ross <[email protected]> wrote:

> The config keys I've found are pertinent are:
> config.assets.enabled = true
>   and
> config.action_controller.asset_host
>
> From what I can tell, the basic functionality is there, although it might
> require a (either custom or standardized) rake task or the such to
> accomplish the actual push to your s3 bucket.
>
> One of the issues I've been facing is the when you use the sprockets-based
> asset pipeline, it likes to add a cache-bursting hash onto the file's name,
> which isn't included when using the rail's `asset_path` view helper (even
> the sprocket's version).
>
> Would seem to me that this kind of functionality should be
> 'end-user/developer' accessible but where to put the functionality: in
> sprockets or on the rails side?
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/jkX6fApkAJIJ.
> 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-talk?hl=en.
>

-- 
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 [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-talk?hl=en.

Reply via email to