Alex MacCaw
Rails Developer · Not a member
Alex MacCaw's latest activity
Friday, October 08 2010
Sunday, September 12 2010
Monday, August 30 2010
-
- Tag changed from 3.0.0.rc, encoding, to_json to 3.0, 3.0.0.rc, encoding, to_json
Switching to the mysql2 gem doesn't completely solve the problem.
For example:
"".to_json.encoding #<Encoding:UTF-8> [].to_json.encoding #<Encoding:US-ASCII>
At...
Sunday, June 13 2010
-
Alex MacCaw commented at 3:09 AMBroken for me too. The issue is that the json lib is defining to_json methods on String/Hash/etc, which aren't ever being undefined. The following fixes it:
mo...
Sunday, January 18 2009
-
Alex MacCaw commented at 10:22 AMJosé: No, I don't think you do. The class .fieldWithErrors is not element specific and should work find on the input, rather than (as currently) the div.
Thursday, January 08 2009
-
- Tag changed from actionview, helper, patch, tested to actionview, helper, patch, tested, verified
Jason, Good point +1 for Adam's patch
We must have enough +1's by now
Wednesday, January 07 2009
-
Alex MacCaw commented at 3:44 PMJust to be Devil's Advocate - here's a reason why you'd want the extra markup rather than adding the class name to the element:
IE6 doesn't support double class...
Saturday, December 27 2008
-
Alex MacCaw commented at 10:47 PMAdam, brilliant - that's definitely the way forward. I'll check out the patch.
Wednesday, December 24 2008
-
Alex MacCaw commented at 5:50 PMI'll try again (lighthouse formatting): <p><div class="fieldWithErrors"><input /></div></p>
-
Alex MacCaw commented at 5:49 PMArthur, nesting a P inside a DIV is fine, agreed. But what's happening here is a DIV is being nestled inside a P, which isn't allowed.
The code looks like this:
...