{"issue":{"created_at":"2011-10-26T01:09:40Z","state":"open","updated_at":"2011-11-30T23:37:47Z","comments":3,"user":{"gravatar_id":"1fcb3fc002594e86d94215a828dea083","id":32358,"url":"https://api.github.com/users/girak","avatar_url":"https://secure.gravatar.com/avatar/1fcb3fc002594e86d94215a828dea083?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"girak"},"body":"it should be relatively straight forward to replace write_attributes to the now available assign_attributes, \r\nthen pass the option along to to assign_attributes call ?\r\n\r\nhttps://github.com/mongoid/mongoid/blob/master/lib/mongoid/persistence.rb#L114\r\n\r\nhttps://github.com/rails/rails/blob/dd944cbf5879e675fff541d1be7c7eb6c3382d01/activerecord/lib/active_record/persistence.rb#L158\r\n\r\n\r\nThanks!!\r\n","assignee":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"id":2052244,"number":1376,"labels":[{"name":"enhancement","color":"0b02e1","url":"https://api.github.com/repos/mongoid/mongoid/labels/enhancement"}],"title":"update_attributes should accept an option hash for Rails >3.1.0","html_url":"https://github.com/mongoid/mongoid/issues/1376","closed_at":null,"url":"https://api.github.com/repos/mongoid/mongoid/issues/1376","milestone":{"created_at":"2011-09-19T13:35:48Z","state":"open","due_on":"2012-01-30T08:00:00Z","closed_issues":2,"creator":{"gravatar_id":"6f09262a13427532461b0b618d445b1e","id":9030,"url":"https://api.github.com/users/durran","avatar_url":"https://secure.gravatar.com/avatar/6f09262a13427532461b0b618d445b1e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"durran"},"number":22,"description":"","title":"3.0.0","open_issues":21,"url":"https://api.github.com/repos/mongoid/mongoid/milestones/22"}},"action":"created","comment":{"created_at":"2011-11-30T23:37:47Z","updated_at":"2011-11-30T23:37:47Z","user":{"gravatar_id":"bfebccc59723611143fb10ade1d361e8","id":14321,"url":"https://api.github.com/users/haihappen","avatar_url":"https://secure.gravatar.com/avatar/bfebccc59723611143fb10ade1d361e8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"haihappen"},"body":"+1","id":2968552,"url":"https://api.github.com/repos/mongoid/mongoid/issues/comments/2968552"}}