Live data from Hacker News

Rails 3.1 Gem Available

rubygems.org

11–20 of 40 posts

Re: Rails 3.1 Gem Available

#11
post #6
post #2

Thanks to Rails core and all the contributors for yet another killer release :) If you're new to 3.1, the following resources will help you to get started: Release notes: http://guides.rubyonrails.org/3_1_release_notes.html Asset pipeline: http://guides.rubyonrails.org/asset_pipeline.html http://railscasts.com/episodes/279-understanding-the-asset-p...

Thanks for linking to the new Asset Pipeline guide. Richard Hulse, Mohammed El-Abid and me put a lot of work into that to try to help people understand how it works. It's just a fantastic feeling to see something that I've worked on be helpful to so many people. Thank you.

No, thank you ( and richard and mohammed )

You have no idea how helpful you guys are.

Re: Rails 3.1 Gem Available

#12

Yes, I am very excited. I should have released during business hours with announcements prepared and whatnot, but I really wanted this code in people's hands. I hope that everyone enjoys this release!

To reiterate what everyone is saying: thank you very much for all of your dedication and hard work.

Let me know if you ever make it around to Liberty or Poppy, I feel like I owe you at least a couple drinks.

Re: Rails 3.1 Gem Available

#16
post #7

I'm hesitant to give up on Jammit, but asset pipeline looks great.

Same here. I've been trying out the 3.1 RCs, and I think the asset pipeline has some potential, but I haven't found a replacement for Jammit's JST compilation. (Although I haven't looked very hard. I'm sure there's a solution out there.)

Re: Rails 3.1 Gem Available

#17
post #7

I'm hesitant to give up on Jammit, but asset pipeline looks great.

Same here. I've been trying out the 3.1 RCs, and I think the asset pipeline has some potential, but I haven't found a replacement for Jammit's JST compilation. (Although I haven't looked very hard. I'm sure there's a solution out there.)

"Sprockets supports JavaScript templates for client-side rendering of strings or markup. JavaScript templates have the special format extension .jst and are compiled to JavaScript functions"

From sprocket README. Although, I have switched to Rails 3.1 and I am not using asset pipelining at all, just sticking with jammit.

Re: Rails 3.1 Gem Available

#18
post #7

I'm hesitant to give up on Jammit, but asset pipeline looks great.

Same here. I've been trying out the 3.1 RCs, and I think the asset pipeline has some potential, but I haven't found a replacement for Jammit's JST compilation. (Although I haven't looked very hard. I'm sure there's a solution out there.)

Sprockets includes Jammit-inspired JST support. You can use it with either EJS or Eco templates. See the "JavaScript Templating" section of the readme: https://github.com/sstephenson/sprockets#readme

You can even write your own JST template class. Here's an example that adds Mustache template support: https://github.com/josh/mustache-trimmer/blob/master/lib/til...

Post reply on HN