On Mon, 2008-06-16 at 20:00 +0100, Andrew Neil wrote: > What database are you using? I've only tested on > MySQL. >
I am using Sqlite. > Looking at the definition of the method count_active_subscribers, I'm > wondering if it is MySQL specific: > > def count_active_subscribers(subscriber_list) > count(:conditions => ["unsubscribed_at IS ? AND > subscriber_list_id = ?", nil, subscriber_list.id]) > end > > I'm not certain whether this would work with, say SqlLite. Even so, > the error message says undefined method, which is surprising since the > method is defined in the Subscriber model. I thought it was strange as well. Like I said, I am going to be working on it tonight and I'll let you know how it goes. ~Nate _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
