diff options
author | AvnerCohen <israbirding@gmail.com> | 2012-10-27 22:05:27 +0200 |
---|---|---|
committer | AvnerCohen <israbirding@gmail.com> | 2012-10-27 22:05:27 +0200 |
commit | 62f273b6501db72e3c902d947e6828dcab9c004a (patch) | |
tree | 6e49d8b5219a94844b19c3809ae64783fef16f6a /actionpack/lib/action_controller/metal/streaming.rb | |
parent | cc81af2fe438fd3e2c8f95dae8f757de0bab1b53 (diff) | |
download | rails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.gz rails-62f273b6501db72e3c902d947e6828dcab9c004a.tar.bz2 rails-62f273b6501db72e3c902d947e6828dcab9c004a.zip |
Multiple changes to 1,9 hash syntax
Diffstat (limited to 'actionpack/lib/action_controller/metal/streaming.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/streaming.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/metal/streaming.rb b/actionpack/lib/action_controller/metal/streaming.rb index 9f3c997024..4eb582648e 100644 --- a/actionpack/lib/action_controller/metal/streaming.rb +++ b/actionpack/lib/action_controller/metal/streaming.rb @@ -29,7 +29,7 @@ module ActionController #:nodoc: # class PostsController # def index # @posts = Post.scoped - # render :stream => true + # render stream: true # end # end # @@ -56,7 +56,7 @@ module ActionController #:nodoc: # @posts = Post.scoped # @pages = Page.scoped # @articles = Article.scoped - # render :stream => true + # render stream: true # end # # Notice that :stream only works with templates. Rendering :json @@ -176,7 +176,7 @@ module ActionController #:nodoc: # need to create a config file as follow: # # # unicorn.config.rb - # listen 3000, :tcp_nopush => false + # listen 3000, tcp_nopush: false # # And use it on initialization: # |