Ask for Help
Anyone have advice for loading seed data in both regular and test environments? One of our projects has some data that is necessary to bootstrap the app into a working state and they’d like it to be in the database for all their tests as well.
EngineYard Cloud installs a weird version of JRuby. Some of the standard command line options don’t seem to work. Anyone have a pointer to a good chef recipe for getting JRuby up and running on EYCloud?
Interesting Things
- Ever get a UTF-8 file with messed up encoding? If all the bytes are still in the right order, try using iconv to fix it. Telling iconv to convert from UTF-8 to UTF-8 fixed a file that had been emailed to one of our projects.
iconv -f UTF-8 -t UTF-8 es.yml > es2.yml
http://github.com/topfunky/ar_fixtures
makes it easy to save ActiveRecord objects to reloadable files or fixtures…
April 16, 2010 at 12:25 am
seed_fu allows all-enviroment seed data as well as per-environment seed data. I think it may be what you’re looking for.
April 18, 2010 at 11:45 am