Hi,

 I was trying to port attachment_fu to Merb and I realized that adding

has_attachment(
    :content_type => :image,
[...]
)

in a model would break the app.

I realized (let me know if I'm wrong) that the plugins are loaded after the
models.  Because of that I now have to load my plugin from my model to be
able to use it directly.

Did I miss something or is there a specific reason why things are loaded the
way they are?

Thanks,

-Matt
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to