This could be a noob problem but I couldn t find a solution so far. I m developing a Rails app locally that uses SQLite, I ve set up a local Git repo, and the dotcloud push command is using this. Locally I use the dev environment and on DotCloud it automatically uses the prod env, which is great. The problem is that each time I do a push my prod db on DotCloud gets lost, no matter how minor the changes are to the codebase, and I have to run rake db:migrate to set it up again. I don t have a prod db locally, only the dev and test dbs.
collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...