Skip to content

Instantly share code, notes, and snippets.

@stevenringo
Forked from silviorelli/rails4flor.txt
Created June 29, 2013 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenringo/5890786 to your computer and use it in GitHub Desktop.
Save stevenringo/5890786 to your computer and use it in GitHub Desktop.
What's new in Ruby on Rails 4
A RoR 4 press review
Silvio Relli @ Florence On Ruby
Bibliography and related resources
1) Rails queue
http://reefpoints.dockyard.com/ruby/2012/06/25/rails-4-sneak-peek-queueing.html
http://blog.remarkablelabs.com/2012/12/rails-queue-rails-4-countdown-to-2013
https://github.com/rails/rails/commit/adff4a706a5d7ad18ef05303461e1a0d848bd662
2) Async mail
http://reefpoints.dockyard.com/ruby/2012/06/26/rails-4-sneak-peek-async-actionmailer.html
http://blog.remarkablelabs.com/2012/12/asynchronous-action-mailer-rails-4-countdown-to-2013
3) Barebone models
http://blog.plataformatec.com.br/2012/03/barebone-models-to-use-with-actionpack-in-rails-4-0/
http://blog.remarkablelabs.com/2012/12/activemodel-model-rails-4-countdown-to-2013
4) Http patch method
http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-the-new-primary-http-method-for-updates/
http://blog.remarkablelabs.com/2012/12/http-patch-verb-rails-4-countdown-to-2013
5) Custom flash types
https://github.com/oscardelben/words-about-code/blob/master/2012/07/rails-edge-custom-flash-types.md
http://blog.remarkablelabs.com/2012/12/register-your-own-flash-types-rails-4-countdown-to-2013
6) Flushing content_for blocks
http://blog.plataformatec.com.br/2012/07/flushing-content-blocks-with-rails-4/
7) Live streaming
http://tenderlovemaking.com/2012/07/30/is-it-live.html
http://blog.phusion.nl/2012/08/03/why-rails-4-live-streaming-is-a-big-deal/
8) Routing Concerns
https://twitter.com/rails/status/235175818471555074
https://github.com/rails/routing_concerns
8b) Multiple route files
https://github.com/oscardelben/words-about-code/blob/master/2012/04/rails-edge-multiple-route-files.md
http://waseem-ahmad.com/2012/05/27/multiple-route-files-in-rails-4/
9) PostgreSQL array support
https://github.com/rails/rails/pull/7547
http://reefpoints.dockyard.com/ruby/2012/09/18/rails-4-sneak-peek-postgresql-array-support.html
10) Strong Parameters
https://github.com/rails/strong_parameters
http://blog.remarkablelabs.com/2012/12/strong-parameters-rails-4-countdown-to-2013
http://railscasts.com/episodes/371-strong-parameters
http://iconoclastlabs.com/cms/blog/posts/upgrading-to-rails-4-parameters-security-tour
11) Turbolinks
https://github.com/rails/turbolinks
http://geekmonkey.org/articles/28-introducing-turbolinks-for-rails-4-0
https://plus.google.com/106300407679257154689/posts/A65agXRynUn
http://railscasts.com/episodes/390-turbolinks
12) Page and action caching
https://twitter.com/rails/status/253916039283355648
http://blog.remarkablelabs.com/2012/12/page-caching-action-caching-gem-extraction-rails-4-countdown-to-2013
https://github.com/rails/actionpack-page_caching
https://github.com/rails/actionpack-action_caching
13) Cache Digests
https://github.com/rails/cache_digests
http://railscasts.com/episodes/387-cache-digests
https://speakerdeck.com/bostonrb/what-to-expect-in-rails-4-dot-0
14) Controller-Wide ETags
http://blog.remarkablelabs.com/2012/12/generate-controller-wide-etags-rails-4-countdown-to-2013
15) Asset pipeline improvements
http://yetimedia.tumblr.com/post/33320732456/moving-forward-with-the-rails-asset-pipeline
16) Where.not
https://twitter.com/a_matsuda/status/276901457624711168
https://github.com/amatsuda/rails/commit/de75af7
17) Rename all action callbacks from *_filter to *_action
https://twitter.com/rails/status/277121523649740800
https://github.com/rails/rails/commit/9d62e04838f01f5589fa50b0baa480d60c815e2c
18) Default index page
https://github.com/rails/rails/pull/8468
19) Chainable relation.none
https://speakerdeck.com/bostonrb/what-to-expect-in-rails-4-dot-0
[Video 25:00] http://www.youtube.com/watch?v=z6YgD6tVPQs#!
20) Relation.___!
https://speakerdeck.com/bostonrb/what-to-expect-in-rails-4-dot-0
[Video 24:00] http://www.youtube.com/watch?v=z6YgD6tVPQs#!
21) HTML5 Form Input Helpers
http://blog.remarkablelabs.com/2012/12/new-html5-form-input-helpers-rails-4-countdown-to-2013
22) Models Concern
http://37signals.com/svn/posts/3372-put-chubby-models-on-a-diet-with-concerns
23) Things removed
http://blog.remarkablelabs.com/2012/12/rails-4-requires-at-least-ruby-1-9-3-rails-4-countdown-to-2013
http://www.ihid.co.uk/blog/rails-update_attribute-is-deprecated-from-3-2-7
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-3-2-to-rails-4-0-vendor-plugins
24)MindNode
http://blog.wyeworks.com/2012/9/20/rails-4-in-a-mindnode/
http://blog.wyeworks.com/images/posts/Rails4-4.png
25) Creating and Deploying Rails 4 to Heroku
https://gist.github.com/3025502
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment