Live data from Hacker News

Rails 3.1 Gem Available

rubygems.org

21–30 of 40 posts

Re: Rails 3.1 Gem Available

#22

Earlier quoted context omitted.

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...

Cool, thanks! I can't wait to try that out.

Re: Rails 3.1 Gem Available

#24
I've been playing with rails 3.1.0.rc5 for sometime. Asset pipeline seems a great way to organize style and scripts, but when it comes to images - didn't quite work for me. Even now, something as simple as showing up a favicon on production server is a herculean task. Not sure how many of you have created an app and gone up to production with the new framework, but there are many unanswered questions. - @bubble

Re: Rails 3.1 Gem Available

#25
Thanks! Started learning 3.1 a few months ago and loved the asset pipeline, but had a few problems getting a particular piece to work. Will have to get back to using it soon.

Re: Rails 3.1 Gem Available

#27

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.

Same here, but for San Diego :)

Re: Rails 3.1 Gem Available

#28

How come the identity map is disabled by default?

It doesn't track model associations, so can lead to odd behaviour if you don't know the pitfalls. Hopefully having to enable it manually means those who do enable it have read up and know what to expect.
Post reply on HN