I went from 1.8.7 to 1.9.2 so perhaps I missed the warning. Thanks for your help, that fixed it.
On Oct 15, 1:48 pm, Frederick Cheung <[email protected]> wrote: > On Oct 15, 7:00 pm, croz <[email protected]> wrote: > > > > > > > Hi all, > > > I'm trying to upgrade my Rails app from 2.3.8 to 3.0.1. From within my > > view I have this method: > > > title ('test', true) > > > In my application_helper file the method header looks like this: > > > title(title = nil, ignore = nil) > > > And the error I get is: > > > syntax error, unexpected ',', expecting ')' > > > When I run it without the parenthesis it works: > > > title 'test', true > > > So I was wondering if in Rails 3 you can no longer call methods in > > views with parenthesis. > > did you also upgrade your ruby version? A space between the method > name and the parens certainly used to produce a warning that this > wouldn't be allowed in future versions. > > Fred -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en.

