Okay, I couldnt resist!
Some preliminary results --
1. Need to update will_paginate to mislav-will_paginate from github.
They recommend that we dont require the plugin anymore. But as of 26th
May 2008, there is a dependency issue with activesupport which
prevents it being used with LovdByLess on 2.1. The workaround is to
use mislav-will_paginate as a plugin.
2. Need to update the top RAILS_GEM_VERSION to 2.1 or 2.0.991 whatever
the case might be.
3. footnotes-edge has to be removed from the vendor/plugin directory
as well to make this work. There were errors that i have not yet
investigated.
4. Profile.featured doesnt quite work. When the count of featured
profile is 1, rand is 0 which evaluates to a real number between 0 and
1 and then SQL doesnt quite like. This is infact a problem in the
current trunk version of LovdByLess as well i think. My version is
ids = connection.select_all('select id from profiles where
is_active = true and about_me is not null')
find(ids[rand(ids.length)]["id"].to_i) unless ids.blank?
Does this work cross database? Is it broken now? Wanna give me a patch?
steve
Can you submit a pull request with the updated notifier? I thought I
had done that already, but if not it needs to be done.
I'm not much interested in renaming the migrations.
steve