Y
Hacker News
new
|
ask
|
show
|
jobs
by
aaronbrethorst
4325 days ago
Support for real foreign keys! addforeignkey/removeforeignkey are now available in migrations.
Awesome! Despite the naysayers, I still feel incredibly productive in Rails, and am so happy it continues to improve.
3 comments
mberning
4325 days ago
Agreed. Having recently worked on an implementation using nodejs/express/angular going back to plain old Ruby/Rails is very nice.
link
monsterix
4325 days ago
Totally! And I sorely miss cool and helpful guys like Ryan Bates in the scene lately.
link
eriktrautman
4325 days ago
Chris Oliver's running some good-looking screencasts to fill those shoes:
https://gorails.com/
link
monsterix
4325 days ago
Thanks! Great to hear someone's taken up the good work.
link
anonova
4325 days ago
This is great, and it looks like it was modeled after the foreigner gem (
https://github.com/matthuhiggins/foreigner
).
link
walski
4325 days ago
Totally agree, still funny how long foreign keys have been absent from vanilla Rails ;) But I guess their lack just didn't cause enough pain for someone to add them (at least it didn't for me)
link
jbverschoor
4325 days ago
Rails lover here, but the original argument against used to be "you don't need foreign keys"
link