Nope, that doesn''t seem to be the trouble (or solution...). My plugin
is called ''access_protection'' and the other one is
acts_as_authenticated''.
As a matter of fact, I find it weird that Rails initializes the
Observers BEFORE the plugins. Can anyone tell me if there''s any way
to tweak this in the Rails source code ??
Luc
Le Jul 7 2006 ? 8:28, Inge J?rgensen a ?crit :
> AFAIK, plugins are loaded in alphabetical order, if that helps.
>
> Luc Boudreau wrote:
>> Hi fellas,
>>
>> I have setup the acts_as_authenticated plugin and activated the
>> UserObserver to send activation emails.
>>
>> I also have a homemade security plugin which adds methods to
>> ActiveRecord::Base like let_read and let_write.
>>
>> On the server start, those two enter in conflict because the
>> Observer does something with the User model but it can''t find
the
>> let_read and the let_write methods yet. It looks like the plugin
>> is not initiated yet.
>>
>> What can I do ??
>> _______________________________________________
>> Rails mailing list
>> Rails@lists.rubyonrails.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails