[Rails] Re: mini_magick - 2 clarifications

2009-11-07 Thread doug
> It's a Ruby thing.  Can be tough to get used to Yep. I understand and definitely agree that it's a bit tough to get used to. The thing is, when the option to use parens when they're not required is exercised (as in lines 1 and 3 of this example) and then, for no apprent reason, the option is

[Rails] Re: mini_magick - 2 clarifications

2009-11-07 Thread Rick
Paren use is optional except when required to disambiguate, i.e. when method1 takes two args and the first is method2 (which takes one or two args) you would use parens to group method2's args. It's a Ruby thing. Can be tough to get used to if you're coming from a c background and are used to th