3 ms·
Support for real foreign keys! addforeignkey/removeforeignkey are now available in migrations. Awesome! Despite the naysayers, I still feel incredibly
by aaronbrethorst 12y 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.
- mberning 12y agoAgreed. Having recently worked on an implementation using nodejs/express/angular going back to plain old Ruby/Rails is very nice.
- monsterix 12y agoTotally! And I sorely miss cool and helpful guys like Ryan Bates in the scene lately.
- eriktrautman 12y agoChris Oliver's running some good-looking screencasts to fill those shoes: https://gorails.com/ https://gorails.com/
- monsterix 12y agoThanks! Great to hear someone's taken up the good work.
- anonova 12y agoThis is great, and it looks like it was modeled after the foreigner gem (https://github.com/matthuhiggins/foreigner https://github.com/matthuhiggins/foreigner).
- walski 12y agoTotally 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)
- jbverschoor 12y agoRails lover here, but the original argument against used to be "you don't need foreign keys"