…ted_at order ... ... to ensure the correct order of tags when all taggings are assigned the same created_at date/time
…e created The new methods set the attribute preserve_tag_order? to true and consequently (1) when saving tags, the taggings are created in the order in which the tags appear in the tag list; (2) when fetching tags by context for the tag lists they are ordered by tagging created_at; (3) an order option is added to the tag context associations (so that for a 'tags' context the associations tag_taggings & tags are always returned in tagging created_at order)
…nting a database error.
- Even ruby 1.9.3-p0 doesn't downcase non ASCII chars. So we still need String#mb_chars call in Tag#comparable_name - Replaced Time.now.to_s in Utils#sha_prefix with rand since seconds precision doesn't make sence (Ruby is super fast :). - Removed Tag#safe_name since it used only with Utils#sha_prefix, but turn all non ASCII tags to empty strings.