--
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 rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
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 rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com.
You've got to be kidding? Why do these people waste their time with such pointless syntactical changes? Does it improve performance? No. Does it improve readability? No.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/Ep4ReP7snLQJ.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
I tend to get it from top-posting with no trimming ;-)
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-core/-/gZCbJN9eCh4J.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-co...@googlegroups.com.
On Friday, 2 March 2012 at 12:15 PM, Mark Peterson wrote:
You've got to be kidding? Why do these people waste their time with such pointless syntactical changes
Just taking a long breath to answer you, this syntax change is not pointless, it's a preparation for syntax like this:some_method(name 'bob', age: 25)in some_methods, the arguments is not a hash but they are named params..Anyway, before this becomes a flame war again, post to rubyonrails-talk or ruby ML/IRCWael
Just taking a long breath to answer you, this syntax change is not pointless, it's a preparation for syntax like this:some_method(name 'bob', age: 25)in some_methods, the arguments is not a hash but they are named params..Anyway, before this becomes a flame war again, post to rubyonrails-talk or ruby ML/IRCWael
There's a mistyped there in the code. It has to be `name:`, not `name.`
The correct code is this:
some_method(name: 'bob', age: 25)
- Prem
--
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/-/CCxXxD59MokJ.
I don't mean to offend, but you are one of the most annoying people to ever write to this list.
On Friday, 2 March 2012 at 4:06 PM, Andrés Mejía wrote:
I don't mean to offend, but you are one of the most annoying people to ever write to this list.
lool I second that, he's like nil always whining :)Sorry dude not offending you, but clearly you woke up on the wrong side of the bed and decided to take it out on the most respectful list, which usually people don't even use to say thanks so we do not bother the brains behind this wonderful code base.--Wael NasreddineSent from my iPhone
http://support.google.com/mail/bin/answer.py?hl=en&answer=47787
Don't feed the trolls.
~Johnneylee
>
> --
> 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/-/aDTzgzK3xFsJ.
On Fri, Mar 2, 2012 at 11:36 PM, Mark Peterson <playe...@gmail.com> wrote:
> On Friday, March 2, 2012 9:25:06 PM UTC-5, thewoo...@gmail.com wrote:
>>
>> "M" is the mute thread shortcut in gmail:
>>
>> http://support.google.com/mail/bin/answer.py?hl=en&answer=47787
>>
>> Don't feed the trolls.
>
> Yes, block your ears as users express their concerns on the wrong mailing list.
~Johnneylee
>
> --
> 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/-/aDTzgzK3xFsJ.
>
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> To unsubscribe from this group, send email to