lib/tasks/friendly_id.rake in friendly_id-3.2.0.beta1 vs lib/tasks/friendly_id.rake in friendly_id-3.2.0.rc1

- old
+ new

@@ -1,10 +1,10 @@ namespace :friendly_id do desc "Make slugs for a model." task :make_slugs => :environment do FriendlyId::TaskRunner.new.make_slugs do |record| - puts "%s(%d): friendly_id set to '%s'" % [record.class.to_s, record.id, record.slug.name] if record.slug + puts "#{record.class}(#{record.id}): friendly_id set to '#{record.slug.name}'" if record.slug end end desc "Regenereate slugs for a model." task :redo_slugs => :environment do @@ -14,6 +14,6 @@ desc "Destroy obsolete slugs older than DAYS=45 days." task :remove_old_slugs => :environment do FriendlyId::TaskRunner.new.delete_old_slugs end -end \ No newline at end of file +end