« first day (2016 days earlier)      last day (1239 days later) » 

11:41 AM
Today's frustration: ActiveRecord doesn't create DB foreign keys by default. I really don't understand the reasoning behind that design.
 
Support of database engines that don't support foreign keys?
 
Maybe, but in that case I would expect it to just ignore them, as it would if you passed foreign_key: true
 
 
1 hour later…
1:09 PM
If anyone here has a gold badge and wants to use it, this looks like a clear duplicate of this
 
 
3 hours later…
4:02 PM
@thesecretmaster I wish I could merge them. I'll do the dupe hammer. I can't tell which one is better. You like the second one best, or it was just earlier?
 
4:16 PM
@WayneConrad I like the second, it's also asked earlier & higher voted. I like that the top answer covers both the "new" way (throw :abort) and the old way (returning false). The accepted answer of the first one is not even right for new versions of rails/AR.
 
Cool, Thanks for the footwork. You should have the gold badge so you can just do it.
Oh, haha. It wasn't tagged "ruby," so my dup hammer didn't work.
My hammer is in ruby, not ruby-on-rails.
 
You could just retag it first?
It's definitely about :P
 
I probably could have retagged it. But now that I've already voted, it might be too late. I don't know if I can retract my vote, add the tag, and then vote again.
 
Oh, I see. That's annoying. Hopefully it'll get the other 4 votes then.
 
I think I remember a meta discussion one time on whether, for example, django would also be tagged python, or ruby-on-rails should also be tagged ruby, etc., and I think the consensus was to leave off the language tag when the Q is primarily about the framework.
 

« first day (2016 days earlier)      last day (1239 days later) »