Topic: Using Helper Methods Outside View?
Ok, I'd like to use some of the helper methods in a migration, (dont ask). Does anyone know how I would go about that?
I tried including TextHelper
class AutoFormatBlog < ActiveRecord::Migration
entries = Entry.find(:all)
for entry in entries
entry.content = simple_format(entry.content)