Hacker News new | ask | show | jobs
by jacques_chester 4682 days ago
Has the actual philosophy changed though?

When I first got to Rails it seemed that databases were considered as a bothersome but unavoidable necessity; flat files with a funny accent, instead of an essential and powerful ally in the fight against entropy and error.

1 comments

In the past several years Postgres and NoSQL data stores have gained in popularity and become mainstream, and Rails now supports them well. The Rails ecosystem historically focused on MySQL, but that's not the case anymore. For example, Engine Yard now uses Postgres by default, and Heroku always has.
I basically remember head-scratching about the worthiness of exotic features like foreign keys.

Some poking around in the current documentation seems to suggest that FKs have been absorbed into ActiveRecord.