Skip to content

Instantly share code, notes, and snippets.

@stravid
Created May 19, 2014 15:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save stravid/96f5f146a6a6dc69f486 to your computer and use it in GitHub Desktop.
Carrierwave + Fixtures
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
ishophaircare:
name: ishophaircare
slug: ishophaircare
commission_level: 0
color: blue
custom_commission_rate: 0
sale: true
logo: <%= File.load("#{Rails.root}/test/fixtures/logo.png") %>
active: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment