Sha256: 554bbc14f76326028551e8d09ed8e1566bc9cce61c3d1f035325c52c4b94cbf0

Contents?: true

Size: 603 Bytes

Versions: 16

Compression:

Stored size: 603 Bytes

Contents

require 'machinist/active_record'
require 'sham'
require 'faker'

# Shams - generated filler values
#

chars = ['A'..'Z', 'a'..'z'].map{|r|r.to_a}.flatten

Sham.define do
#  title            { Faker::Lorem.words }
#  person_name     { Faker::Name.name }
#  description     { Faker::Lorem.words }
#  # Make a fake username that passes validation
#  login           { Array.new(20).map{chars[rand(chars.size)]}.join  }
#  email           { Faker::Internet.email}
#  telephone       { Faker::PhoneNumber.phone_number}
#  client_id       { Faker::PhoneNumber.phone_number }
end



# Model class blueprints

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
shoulda_machinist_generator-0.4.4 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.4.3 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.4.2 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.4.1 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.4.0 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.3.4 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.3.3 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.3.2 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.2.0 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.5 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.4 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.3 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.2 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.1 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.1.0 rails_generators/shoulda_machinist_model/templates/blueprints.rb
shoulda_machinist_generator-0.0.1 rails_generators/shoulda_model/templates/blueprints.rb