{"name":"gist: 828352","desc":"","actor":"divoxx","url":"https://gist.github.com/828352","snippet":"class YourModel < ActiveRecord::Base\n  def yourattribute=(new_value)\n    self[:yourattribute] = new_value.to_i.round","actor_gravatar":"fcd4e5e509230f44e4aef2caf93b2749","action":"create"}