Skip to content

Instantly share code, notes, and snippets.

@noahsark769
Created April 24, 2013 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noahsark769/5448817 to your computer and use it in GitHub Desktop.
Save noahsark769/5448817 to your computer and use it in GitHub Desktop.
Can someone tell me why this is failing in seeds.rb, rails 3.2.12? It seems to work in ruby 2.0.0 but not 1.9.3 or 1.9.2. The weird thing is it works in an irb session, but not when rails runs seeds.rb (it gives a syntax error on the first line).
fft_desc = <<fft
FACT!!!: Americans spend 9.4% of their disposable income on food. That is less than any other country in the world.
CONSEQUENCES!!!: Obesity, type II diabetes, commodification of food, factory farming, corn syrup, processing, packaging, pollution, pesticides, fertilizers, and tasteless food-like products.
fft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment