Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
How is "Generating new project creates a few files with bad syntax Rails 3.2.1" on the wrong mailing list? Don't confuse my reaction to the curious responses of "victims united" as being the purpose of this thread. I was pointing out something that I thought was a problem. Is there a mission s

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Johnneylee Rollins
On Fri, Mar 2, 2012 at 11:36 PM, Mark Peterson 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

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
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. -- You received this message

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Chad Woolley
"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. -- 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 rubyonrails-core@googl

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 7:19:15 PM UTC-5, Ryan Bigg wrote: > > > 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. > > Fire, meet gasoline. > > i.e. This is not the way to deal with peo

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 7:09:54 PM UTC-5, eMxyzptlk wrote: > > 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

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Ryan Bigg
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. Fire, meet gasoline. i.e. This is not the way to deal with people like that. Insults will only generate more insults. Let's not do that

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 7:06:34 PM UTC-5, 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. > > I'm certainly not offended. Thanks! -- You received this message because you are subscribed to the Google Groups "Ruby on Rai

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Wael Nasreddine
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

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Andrés Mejía
I don't mean to offend, but you are one of the most annoying people to ever write to this list. On Fri, Mar 2, 2012 at 6:05 PM, Mark Peterson wrote: > > > On Friday, March 2, 2012 5:37:17 PM UTC-5, Mark Peterson wrote: >> >> On Friday, March 2, 2012 5:25:30 PM UTC-5, Prem Sichanugrist wrote: >>>

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 5:37:17 PM UTC-5, Mark Peterson wrote: > > On Friday, March 2, 2012 5:25:30 PM UTC-5, Prem Sichanugrist wrote: >> >> Oh, I put the period in the `` because the sentence ended there. Sorry if >> that's confused you. >> >> The correct code is this: >> >> some_method(na

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 5:25:30 PM UTC-5, Prem Sichanugrist wrote: > > Oh, I put the period in the `` because the sentence ended there. Sorry if > that's confused you. > > The correct code is this: > > some_method(name: 'bob', age: 25) > > - Prem > Any programmer worth his salt disobeys the i

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Prem Sichanugrist
Oh, I put the period in the `` because the sentence ended there. Sorry if that's confused you. 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 post to this grou

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 5:14:58 PM UTC-5, Prem Sichanugrist wrote: > > There's a mistyped there in the code. It has to be `name:`, not `name.` > I'm scared does "name." mean something? For all I know it does now :) -- You received this message because you are subscribed to the Google Groups "R

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 5:14:16 PM UTC-5, Trek wrote: > > > > > Isn't "name 'bob'" the syntax for passing "bob" as an argument into the > "name" method? Or has that all changed too? > > > > If I saw "name 'bob'", I would think that there's a method named "name" > defined somewhere. > > > > d

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Prem Sichanugrist
There's a mistyped there in the code. It has to be `name:`, not `name.` -- 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 rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Trek Glowacki
> > Isn't "name 'bob'" the syntax for passing "bob" as an argument into the > "name" method? Or has that all changed too? > > If I saw "name 'bob'", I would think that there's a method named "name" > defined somewhere. > > def name(str) > # do something with str > end > > Sounds like a great

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 4:21:39 PM UTC-5, eMxyzptlk wrote: > > 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

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 4:35:22 PM UTC-5, Ryan Bigg wrote: > > > 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 > > > This is what would be gauged as "rage" here. They're

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 4:21:39 PM UTC-5, eMxyzptlk wrote: > > 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

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Ryan Bigg
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 This is what would be gauged as "rage" here. They're not *pointless* syntax changes. They're adapting to the shorter syntax for

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
On Friday, March 2, 2012 4:20:50 PM UTC-5, Michael Pavling wrote: > > On 2 March 2012 21:18, Mark Peterson wrote: > > Again, not sure where you got the "rage" from. > > > > I tend to get it from top-posting with no trimming ;-) > So that's what top-posting is. Why does Google Groups default to t

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Wael M. Nasreddine
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-ta

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Michael Pavling
On 2 March 2012 21:18, Mark Peterson wrote: > Again, not sure where you got the "rage" from. > I tend to get it from top-posting with no trimming ;-) -- 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 r

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
Again, not sure where you got the "rage" from. On Friday, March 2, 2012 3:28:34 PM UTC-5, Prem Sichanugrist wrote: > > * Don't put a rage on me. I'm not the one who decide this. I explained why > it's being that way. > * You can generate you application with old syntax by using > --old-style-has

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
Not sure where you got the "rage" from. On Friday, March 2, 2012 3:27:12 PM UTC-5, Michael Koziarski wrote: > > On Saturday, 3 March 2012 at 9:15 AM, Mark Peterson wrote: > > You've got to be kidding? Why do these people waste their time with such > pointless syntactical changes? Does it improve

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Prem Sichanugrist
* Don't put a rage on me. I'm not the one who decide this. I explained why it's being that way. * You can generate you application with old syntax by using --old-style-hash. * That wrap_parameters thing is something else altogether. It's for when you're calling `@model.to_json`. - Prem On Mar

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Michael Koziarski
On Saturday, 3 March 2012 at 9:15 AM, Mark Peterson wrote: > 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. > Same reason people waste their time writing such pointless

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
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. Why does the comment in "wrap_parameters.rb" say the following? # Enable parameter wrapping for JSON. You can disable this by

Re: [Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Prem Sichanugrist
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

[Rails-core] Generating new project creates a few files with bad syntax Rails 3.2.1

2012-03-02 Thread Mark Peterson
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: