"You're right, that's exactly what I did, just force it in the controller. To check that the associations are valid all the time, I could, maybe _should_, have used validates_associated :children .. but that still doesn't validate the requirement that I had at the time, namely, that at least one child must be present in order for the Parent to be valid. If I was doing this now, I think I would use a custom validation, check the size of the children association, and add the error if the size was zero."
- Phil Crissman
"Haven't started Breaking Bad, mostly because I'm certain it will be great and I don't have time to watch it. :-) Did watch GoT, very good series. The books, as always, are better, but they did a good job (so far) putting them on screen. LOST did indeed prove to be a waste of time. Worst series ending ever. Have you yet gone back and watched Firefly? Worthwhile."
- Phil Crissman
"I don't know about that. I switched to using ddg over a year ago and have never felt the need to switch back. For the few cases that I know I will get better/more results with google, I just preface the search with !g. See also: http://duckduckgo.com/bang.htm..."
- Phil Crissman
"Again, yes. If you're using Internet Explorer, it's going to look like crap. I have not tested with Internet Explorer, other than I checked once, and it's totally broken in IE. Do I need a disclaimer, somewhere? ;-)"
- Phil Crissman
"Again, yes. If you're using Internet Explorer, it's going to look like crap. I have not tested with Internet Explorer, other than I checked once, and it's totally broken in IE. Do I need a disclaimer, somewhere? ;-)"
- Phil Crissman
"Which browser are you using? I know it renders horribly in IE, and I just haven't cared enough to fix it. AFAIK, it looks fine on Firefox or webkit browsers."
- Phil Crissman
"Which browser are you using? I know it renders horribly in IE, and I just haven't cared enough to fix it. AFAIK, it looks fine on Firefox or webkit browsers."
- Phil Crissman
"Maybe we should all check with you before we donate any of our own money to any cause whatsoever. Just to certain that you approve, of course."
- Phil Crissman
"Maybe we should all check with you before we donate any of our own money to any cause whatsoever. Just to certain that you approve, of course."
- Phil Crissman
"Maybe we should all check with you before we donate any of our own money to any cause whatsoever. Just to certain that you approve, of course."
- Phil Crissman
"Well, I don't know about _that_... Not a big Fedora fan. But it's okay. If I were going to start using Linux for a desktop again today, I'd be tempted to use either Linux Mint or just plain Ubuntu. If I were feeling really geeky, I think I'd go with http://funtoo.org. :-)"
- Phil Crissman
"Well, I don't know about _that_... Not a big Fedora fan. But it's okay. If I were going to start using Linux for a desktop again today, I'd be tempted to use either Linux Mint or just plain Ubuntu. If I were feeling really geeky, I think I'd go with http://funtoo.org. :-)"
- Phil Crissman
"Well, I don't know about _that_... Not a big Fedora fan. But it's okay. If I were going to start using Linux for a desktop again today, I'd be tempted to use either Linux Mint or just plain Ubuntu. If I were feeling really geeky, I think I'd go with http://funtoo.org. :-)"
- Phil Crissman
"If anything in my summation of binding & scope is unclear or (gasp!) incorrect, feel free to augment or correct my explanation in the comments..."
- Phil Crissman
"If anything in my summation of binding & scope is unclear or (gasp!) incorrect, feel free to augment or correct my explanation in the comments..."
- Phil Crissman
"If anything in my summation of binding & scope is unclear or (gasp!) incorrect, feel free to augment or correct my explanation in the comments..."
- Phil Crissman
"The short answer to the question is, a quicksort in ruby will still be slower than Array#sort, because the built-in quicksort is written in C. That said, I don't think I've really looked at quicksort since college, so I think that would be a fun exercise; now that you've mentioned it I'll probably give it a go and post it in a little bit."
- Phil Crissman