Skip to content

Instantly share code, notes, and snippets.

View danielfriis's full-sized avatar

Daniel Friis danielfriis

View GitHub Profile
@matthutchinson
matthutchinson / fakeout.rb
Created May 10, 2012 16:59
fake.rake - a takeout approach and rake task that generates some random fake data for a rails app (using ffaker)
# place this in lib/fakeout.rb
require 'ffaker'
module Fakeout
class Builder
FAKEABLE = %w(User Product)
attr_accessor :report
en:
errors:
messages:
wrong_content_type: "is the wrong content type"