I have recently been developing Spreadsheet::HTML and apart from a handful of mistakes, two particular CPANTS smoke tests (see this and that) always have one specific test fail. And only that one test. Here is the relevant output:
# Failed test 'encoding all HTML entities'
# at t/03-encode-data.t line 42.
# got: '<table><tr><th><</th><th>=</th><th>&</th><th>></th><th>"</th><th>'</th></tr><tr><td><</td><td>=</td><td>&</td><td>></td><td>"</td><td>'</td></tr></table>'
# expected: '<table><tr><th><</th><th>=</th><th>&</th><th>></th><th>"</th><th>'</th></tr><tr><td><</td><td>=</td><td>&</td><td>></td><td>"</td><td>'</td></tr></table>'
Needless to say, i was hard pressed to spot the problem. I usually just ignored these two …
Continue reading ‘Debugging and Visibility’ »
When i last left off, i was stuck with an unideal solution for displaying form validation errors — a very important part of collecting user input on the Web. Furthermore, this unideal solution broke the form layout itself. Rather than start hacking into the source code of Rails, i decided to search the Web for …
Continue reading ‘Adding Twitter Bootstrap to Rails (part 2)’ »
Man i love me some Twitter Bootstrap. It’s the bomb. I don’t care if you convert or not. It’s mine. Thhhhpppppppttttt!!!! Jog off … Still here? Awesome! 😀 If you’ve been reading along so far (i’m obviously talking to myself now …) you know that i have been implementing the Depot example from Agile Web …
Continue reading ‘Adding Twitter Bootstrap to Rails (part 1)’ »
I went ahead and uploaded my first RoR project to github: http://github.com/jeffa/RoR-Depot This project is simply the example web app from Agile Development With Rails (4th ed.). I am sticking very closely with the instructions but i am using Twitter Bootstrap instead of the author’s stylesheets. I am also using Travis CI so i am getting some …
Continue reading ‘First RoR Project’ »
I recall (Central Park in fall …) man i digress. I recall attempting to learn Catalyst many years ago and being hit with a lot of arcane rules and well … just plain bizarre usage of Perl in general. I didn’t like Mason nor Krang very much either but i managed to learn them. Catalyst …
Continue reading ‘Comparing Rails to Catalyst’ »
Looks like I am finally making the switch away from Perl. I starting learning Ruby yesterday and so far it is everything i wanted from Perl 6, which has yet to see the light of development day. I am also enjoying Ruby far more than Python, a language i still somewhat despise. The following quote …
Continue reading ‘Moving onto Ruby?’ »