5 ms·
Rails 3.1 Gem Available
- nfm 15y agoThanks 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 http://guides.rubyonrails.org/3_1_release_notes.html Asset pipeline: http://guides.rubyonrails.org/asset_pipeline.html http://guides.rubyonrails.org/asset_pipeline.html http://railscasts.com/episodes/279-understanding-the-asset-pipeline http://railscasts.com/episodes/279-understanding-the-asset-p...
- ryanbigg 15y agoThanks 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.
- enry_straker 15y agoNo, thank you ( and richard and mohammed ) You have no idea how helpful you guys are.
- latortuga 15y agoThanks for the links. From reading the release notes, it looks like there's a lot of changes around the behavior of creating/updating/destroying through active record associations - other than the release notes is there anywhere else that has a good writeup of these changes?
- thedjpetersen 15y agoAlright! Good work Rails core team.
- eddanger 15y agoThe asset pipeline is s great evolution to this amazing framework. I'm looking forward to playing with this.
- jdelsman 15y agoSo happy! Thanks guys! Upgrading now ;)
- dmix 15y agoI'm hesitant to give up on Jammit, but asset pipeline looks great.
- davidcuddeback 15y agoSame 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.)
- gnufied 15y ago"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.
- sstephenson 15y agoSprockets 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 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/tilt/mustache_js_template.rb https://github.com/josh/mustache-trimmer/blob/master/lib/til...
- davidcuddeback 15y agoCool, thanks! I can't wait to try that out.
- angryasian 15y agocan anyone point me, where I can read a comparison on Jammit vs asset pipeline/sprocket or could you offer your opinions. thanks
- 15y ago
- tenderlove 15y agoYes, 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!
- BenSchaechter 15y agotenderlove, I don't know you and probably never will -- but thanks for all your hard work. Seriously.
- tortilla 15y agoThanks for yours and everyone else's hard work. This release looks great. Been developing on the RCs the past month or so and appreciate the improvements.
- aaronbrethorst 15y agoTo 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.
- jarin 15y agoSame here, but for San Diego :)
- lisperforlife 15y agoThanks for all the hard work. You guys are awesome. BTW, it is business hours in India. :-)
- jagira 15y agoToday is a holiday in India. :-)
- esmevane 15y agoI understand your excitement. I've been watching your work on it! You deserve a nice, long vacation, man. Thank you.
- deleted 15y ago[deleted]
- CoachRufus87 15y agoYou guys rock! Thanks for all the work y'all put in.
- dasil003 15y agoThis time it's no red herring like the nefarious 3.0.10 release!
- diegogomes 15y agoHands on. Upgrading!
- DanielKehoe 15y agoHere's my walk-through "Read This Before Installing Rails 3.1" which helps in dodging pitfalls and potholes: http://railsapps.github.com/installing-rails-3-1.html http://railsapps.github.com/installing-rails-3-1.html
- nkeating 15y agoGreat update.. Asset Pipeline & Coffescript have quickly become indispensable.
- bubblepaper 15y agoI'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
- dkrich 15y agoThanks! 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.
- hankberg 15y agoHow come the identity map is disabled by default?
- ashleyw 15y agoIt 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.
- tmeasday 15y agoDoes anyone know if/when heroku will support 3.1?
- taybenlor 15y agoIt already does on the cedar stack. http://devcenter.heroku.com/articles/rails31_heroku_cedar http://devcenter.heroku.com/articles/rails31_heroku_cedar
- sebilasse 15y agoThanks for the great work. After every release I wonder what's next. Is there some sort of roadmap?
- sc00ter 15y agoFantastic! Any particular reasn to only list DHH under "Authors"? (I assume the plural means more are possible...) Perhaps a link to http://contributors.rubyonrails.org/ http://contributors.rubyonrails.org/ ? Interestingly DHH is only #2 contrubutor overall, and number 9 this year... (by number of commits; and no, that isn't a perfect measure of contribution)
- speleding 15y agoHere is something not in the release notes that people may want to watch out for: The format of the session has changed, the FlashHash class to be precise, so trying to load a browser session created on Rails 3.0 will give a marshal load error on 3.1 if it had anything in the flash. This means you will want to change your SESSION_KEY variable to expire all sessions, otherwise users that are logged in while you upgrade can get stuck until they clear their cookies. (So I postponed the upgrade to the weekend...)