test/models/donut.rb in permalink-0.1.1 vs test/models/donut.rb in permalink-1.0.0
- old
+ new
@@ -1,3 +1,3 @@
class Donut < ActiveRecord::Base
- has_permalink :flavor, :to => :slug, :to_param => [:slug, :id, 'permalink']
+ permalink :flavor, :to => :slug, :to_param => [:slug, :id, 'permalink']
end
\ No newline at end of file