L
Leslie Viljoen
Hi all
I posted a while back about my Rails project having a class called Property
which clashed with the Glue module at Textdrive. They have now removed
the Glue gem and I have changed the name of my class so all is well, but I
still would like to understand how Glue took over the default namespace like
that.
When I ran my script/console on Textdrive I got:
Loading production environment.=> [Glue, PP::ObjectMixin, Base64:
eprecated, Base64, Kernel]
After glue was removed:
Loading production environment.=> [Base64:
eprecated, Base64, Kernel]
How did it take control of the default namespace (and only when Rails was
loaded?) Using irb never gave this problem, and Rails never refers to Glue
directly.
Les
I posted a while back about my Rails project having a class called Property
which clashed with the Glue module at Textdrive. They have now removed
the Glue gem and I have changed the name of my class so all is well, but I
still would like to understand how Glue took over the default namespace like
that.
When I ran my script/console on Textdrive I got:
Loading production environment.=> [Glue, PP::ObjectMixin, Base64:
After glue was removed:
Loading production environment.=> [Base64:
How did it take control of the default namespace (and only when Rails was
loaded?) Using irb never gave this problem, and Rails never refers to Glue
directly.
Les