Skip to content

Commit

Permalink
Update to readme for acts_as_ordered_taggable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hilton committed Mar 29, 2012
1 parent 56b36e9 commit 9466925
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ To preserve the order in which tags are created use acts_as_ordered_taggable:
end

@user = User.new(:name => "Bobby")
@user.tag_list = "south, east"
@user.tag_list = "east, south"
@user.save

@user.tag_list = "north, south, east, west"
@user.tag_list = "north, east, south, west"
@user.save

@user.reload
@user.tag_list => ["north", "south", "east", "west"]
@user.tag_list => ["north", "east", "south", "west"]


=== Finding Tagged Objects
Expand Down

0 comments on commit 9466925

Please sign in to comment.