Skip to content

Instantly share code, notes, and snippets.

@benphelps
Created August 28, 2012 00:45
Show Gist options
  • Save benphelps/3493905 to your computer and use it in GitHub Desktop.
Save benphelps/3493905 to your computer and use it in GitHub Desktop.
class ArmorTier < ActiveRecord::Base
attr_accessible :agility, :deviation, :intellect, :level, :name, :stamina, :strength
belongs_to :armor_material
def agility
value + 5
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment