How do people feel about the following shortcuts?
Manager-get_objects([ a = 1, b = 2 ]);
Manager-get_objects({ a = 1, b = 2 });
Both being equivalent to:
Manager-get_objects(query = [ a = 1, b = 2 ]);
This is how the new find relationship method type works, and I'm
wondering if
On Feb 16, 2007, at 1:11 PM, John Siracusa wrote:
How do people feel about the following shortcuts?
Manager-get_objects([ a = 1, b = 2 ]);
Manager-get_objects({ a = 1, b = 2 });
Both being equivalent to:
Manager-get_objects(query = [ a = 1, b = 2 ]);
i don't like it as
On Fri, 16 Feb 2007 13:11:05 -0500 John Siracusa [EMAIL PROTECTED] wrote:
JS How do people feel about the following shortcuts?
Manager- get_objects([ a = 1, b = 2 ]);
Manager- get_objects({ a = 1, b = 2 });
JS Both being equivalent to:
Manager- get_objects(query = [ a = 1, b = 2 ]);
JS This
On Feb 16, 2007, at 10:11, John Siracusa wrote:
Opinions?
My initial thought was messy, but I keep typing it that way
expecting it to work so I agree with Ted, DWIM.
- ask
--
http://develooper.com/ - http://askask.com/
Opinions?
My initial thought was messy, but I keep typing it that way
expecting it to work so I agree with Ted, DWIM.
+1 for me also. I do the same thing.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join
I have a bunch of classes that are created automagically for me by
Rose::DB::Object::Loader.
In one of those classes I'd like to use load_or_insert from
Rose::DB::Object::Helpers.
I'm not sure how to do it politely.
Just for grins, I tried this:
use Rose::DB::Object::Loader;
package
George Hartzell writes:
I have a bunch of classes that are created automagically for me by
Rose::DB::Object::Loader.
In one of those classes I'd like to use load_or_insert from
Rose::DB::Object::Helpers.
I'm not sure how to do it politely.
Just for grins, I tried this: