List Info

Thread: small fix for EZ (===)




small fix for EZ (===)
user name
2006-04-21 00:07:24
On 4/20/06, Michael Fellinger <manveruweez.co.jp> wrote:
> this one should fix the problems with
schema_inheritance and the use of === in
> EZ-clauses, it patches sql.rb though, so please be
careful, i haven't had a
> problem so far but i'm not using the full extend of Og
so it's hard to tell.
>

Thanks for the patch. I'll see if I can create a test case
for this
based off your other email.

--
"Never tell people how to do things. Tell them what to
do and they
will surprise you with their ingenuity." —General
George S. Patton

_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
small fix for EZ (===)
user name
2006-04-27 06:48:40
Rather than:

options[:condition] =
options[:condition].shift.gsub('(?*)',
"(#{options[:condition].pop.join(',')})")

what do you think of:

[options[:condition]].flatten[0] <<  " #
#"

It seems more straight forward to me...

--
"Never tell people how to do things. Tell them what to
do and they
will surprise you with their ingenuity." —General
George S. Patton

_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
small fix for EZ (===)
user name
2006-04-27 08:53:28
whatever you like best, as long as it fixes the problem  - and
yes,my code sometimes look really weird...
On 4/27/06, Bryan Soto <bryan.a.sotogmail.com> wrote:> Rather than:>>
options[:condition] =
options[:condition].shift.gsub('(?*)',>
"(#{options[:condition].pop.join(',')})")>&
gt; what do you think of:>>
[options[:condition]].flatten[0] <<  " #
#">> It seems more straight forward to
me...>> --> "Never tell people how to do
things. Tell them what to do and they> will surprise you
with their ingenuity." —General George S.
Patton>>
_______________________________________________>
Nitro-general mailing list> Nitro-generalrubyforge.org> http://rubyforge.org/mailman/listinfo/nitro-general>
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
small fix for EZ (===)
user name
2006-04-27 22:34:52
Okay, I went with mine till someone comes up with something
nicer. 

On 4/27/06, Michael Fellinger <m.fellingergmail.com> wrote:
> whatever you like best, as long as it fixes the problem
 - and
yes,my code sometimes look really weird...
> On 4/27/06, Bryan Soto <bryan.a.sotogmail.com> wrote:> Rather than:>>
options[:condition] =
options[:condition].shift.gsub('(?*)',>
"(#{options[:condition].pop.join(',')})")>&
gt; what do you think of:>>
[options[:condition]].flatten[0] <<  " #
#">> It seems more straight forward to
me...>> --> "Never tell people how to do
things. Tell them what to do and they> will surprise you
with their ingenuity." —General George S.
Patton>>
_______________________________________________>
Nitro-general mailing list> Nitro-generalrubyforge.org> http://rubyforge.org/mailman/listinfo/nitro-general>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general


--
"Never tell people how to do things. Tell them what to
do and they
will surprise you with their ingenuity." —General
George S. Patton

_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )