Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

why on earth is test ( development ) using pg ? #41

Open
thenrio opened this issue Feb 7, 2014 · 1 comment
Open

why on earth is test ( development ) using pg ? #41

thenrio opened this issue Feb 7, 2014 · 1 comment

Comments

@thenrio
Copy link

thenrio commented Feb 7, 2014

it

  • requires a pg server, no one want a pg test database for each project on its laptop
  • sqlite3 does a pretty good job for test and even for more

for development, it is more a practical and habit matter

hey, that's cool but you are not testing on the real database, we might have production bugs we could have detected

if I want to test production, I use RAILS_ENV=production...
and it is the real stuff, not only database, test and development envs are a hack : code is not the same

if I have bugs with this process, I change it ( not have done for 5 years of rails )

@thenrio
Copy link
Author

thenrio commented Feb 7, 2014

can make a PR of course...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant