No, that is Ruby 1.9 hash syntax. It will generate that syntax if you're using 
Ruby 1.9.

- Prem

On Mar 2, 2012, at 1:31 PM, Mark Peterson wrote:

> session_store.rb
> 
> is:
> YourApplicationName::Application.config.session_store :cookie_store, key: 
> '_yourapplicationname_session'
> 
> should be:
> YourApplicationName::Application.config.session_store :cookie_store, :key => 
> '_yourapplicationname_session'
> 
> 
> 
> wrap_parameters.rb
> 
> is:
> wrap_parameters format: [:json]
> 
> should be:
> wrap_parameters :format => [:json]
> 
> 
> ruby -v
> ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin10.8.0]
> LX9901145:initializers m2peters$ gem list
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Core" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/rubyonrails-core/-/pJnDpXo8gf4J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to