Good point Richard, if we have to handle it ourselves I think it
deserves a little mention in the docs.
I assume that most people are use to capistrano which had a cap
deploy:migrations command that would run the migrations before
symlinking the new code. (Although I never personally tested it.)
I'm pushing my app together with a read-only text file containing
swedish characters, åäö.
When starting the app, it reads the file and stores the text in the
database.
My problem is, the file contains characters not compatible with what
postgresql expects.
Q1: what character set is postgresql
I previously used a great Rails plugin called yui_compressor_fu (
http://github.com/maxim/yui_compressor_fu/) to combine and compress my
JavaScript and CSS the first time it was loaded in production, but since
Heroku doesn't allow access to the filesystem, I need to figure out a new
solution.
The
I spent 6 hours last night trying to set up my cnames for two apps on
heroku, here is what I figured out. Register.com doesn't seem to
allow you to do the hostname.ext. (dot trick) as described in Oren
Teich's Screencast tutorial of setting up DNS on GoDaddy[http://
On Aug 6, 2009, at 3:59 PM, Christer Nilsson wrote:
I'm pushing my app together with a read-only text file containing
swedish characters, åäö.
When starting the app, it reads the file and stores the text in the
database.
My problem is, the file contains characters not compatible with
Sarah Allen wrote:
Heroku uses UTF-8, to do the same locally, you need to set it at
initdb time (and it can't be changed dynamically when the database is
running)...
initdb --locale=en_US.UTF-8 -D /Library/PostgreSQL/8.4/data/
Sara, thanks for your answer!
Everything works fine now. Had to be
running migrations before updating the code would still leave you in a
similar broken state because the database schema has changed but your
code has not been updated for it. Depending on how much has changed
will be the severity of your brokenness. Keep in mind that this is
still a small
I think it might still say that somewhere in the docs because I remember
being confused when I updated something a little while ago and something
wasn't working, so when I figured out that my migration hadn't been
activated yet, which took a little while to pin down as the problem, I was
able to
Hi Grant,
I was about to write a follow up on that one - I'm pretty sure they do
not have Java installed.
I was quick to jump the gun and show how to generate content and serve
it up. After I looked at the project I realized the java predicament.
http://compressorrater.thruhere.net/ points