Navigation Menu

Skip to content

Commit

Permalink
Update README too.
Browse files Browse the repository at this point in the history
  • Loading branch information
therealadam committed Oct 28, 2009
1 parent e03cfb1 commit 1885702
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -7,6 +7,8 @@ Ticket model's status column is "open" or "closed" you would create the
following mapping:

class Ticket < ActiveRecord::Base
include AttributeMapper
map_attribute :status, :to => {:open => 1, :closed => 2}
end

Expand Down

0 comments on commit 1885702

Please sign in to comment.