MeritBadgeRules, MeritPointRules and MeritRankRules are now namespaced into Merit module. Move and change:
app/models/merit_{badge|point|rank}_rules.rb -> app/models/merit/{badge|point|rank}_rules.rb
-class Merit{Badge|Point|Rank}Rules - include Merit::{Badge|Point|Rank}Rules +module Merit + class {Badge|Point|Rank}Rules + include Merit::{Badge|Point|Rank}RulesMethods
Add log:string column to merit_actions table.
Rankings are now integer attributes (level), they are not badges anymore. set_rank doesn't accept badge_name anymore.
Badges data is now stored in config/initializers/merit.rb using ambry syntax (not in the DB anymore, as that table needed to be in sync in all development environments).
Added had_errors boolean attribute to merit_actions table.