def boosts level
self.class.my_peta.boost.each do |boost_name, boost_manifest|
- next unless boost_manifest.level == level
+ next if level == 'read' and boost_manifest.level == 'post'
self.boost boost_manifest
end
end
@boosters[boost_manifest.name] = Locmare::Booster.new(boost_manifest, self)
end
+ def boosters
+ @boosters
+ end
+
def extend_column? column_name
self.class.extend_column? column_name
end