DanIvovich.com

website = brain.collect{ |thought| thought.to_post if thought.useful? }

DanIvovich.com

website = brain.collect do |thought|   thought.to_post if thought.useful? end