chrome/markable — pull request #1 by MrTheWalrus (2012-04-02 20:37:51+00:00)
Title: attr_accessible for Mark

If a project uses Markable and has ActiveRecord::Base.attr_accessible set to false (which is encouraged - see http://somethinglearned.com/articles/2006/05/24/best-practices-a-strong-case-for-attr_accessible-part-2 , for instance), set_mark will fail (since it uses mass assignment). Adding attr_accessible on these fields (markable_id, markable_type, marker_id, marker_type and mark) fixes it.