[Radiant] Re: Re: Re: Update Task accidentally run twice (Page
Attachm
Daniel Collis-puro
dan at endpoint.com
Tue May 6 21:03:38 CDT 2008
Ben Morrow wrote:
> Did some more testing, this is interesting...
>
> I created a new Radiant project with a new database. I then
> installed the Page Attachments extension (and only that extension). I
> started the server.
>
> I see the same error messages:
The "Geometry" class, which apparently has something to do with
calculating geometry strings to be passed to Imagemagick, gets loaded
twice - once by Page Attachments and once by Attachment_fu. Rails is
warning you that the constants the class contains are getting redefined-
these are just warnings, and the constants are getting redefined to the
same values either way. It's safe to ignore them.
**
I've been doing a bunch of work on the Page Attachments plugin - I've
fixed it to not require the Geometry class if the class has already been
loaded. On my install, this has fixed the warnings.
I'll issue a pull request and hopefully Sean will like what he sees and
this'll make it's way into the core. There are a few other ways to fix
it - but this seems like a safe route to me.
--DJCP
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list