Victor Martins

Maia, Portugal

victormartins.com

Age: 34

"I have many ideas, the problem is, most of them suck" - George Carlin
Aug
4
awarded Yearling
Jul
25
awarded Popular Question
Jul
2
awarded Curious
Jun
15
comment No route matches [GET] "/users/sign_out"
//= is part of how the asset pipeline works. It looks like a comment line to javascript, but it is actually a line that will be executed by rails to load something.
Mar
18
comment No route matches [GET] "/users/sign_out"
The devil is in the details :P
Mar
17
awarded Necromancer
Feb
25
revised How to parse Nokogiri/libXML XML errors to human-friendly errors?
deleted 5 characters in body
Feb
25
accepted How to parse Nokogiri/libXML XML errors to human-friendly errors?
Feb
25
answered How to parse Nokogiri/libXML XML errors to human-friendly errors?
Feb
24
comment How to parse Nokogiri/libXML XML errors to human-friendly errors?
I've build a parser that in the end does this: gist.github.com/victormartins/9185529 This way my client can show the error messages in anyway they want, just translating the errors in the yml file like thet do for everything else. I will release a gem whem I'm done, maybe it will help someone else.
Feb
21
revised How to parse Nokogiri/libXML XML errors to human-friendly errors?
edited tags; edited title
Feb
21
asked How to parse Nokogiri/libXML XML errors to human-friendly errors?
Feb
14
awarded Notable Question
Dec
9
comment undefined method `migration_error=' for ActiveRecord::Base:Class
Thanks, this helped :)
Nov
30
comment TokenInput plus jQuery UI Dialog conflict
Thanks! Raising the z-index solved the problem!! :)
Nov
4
comment How to cancel a pull request on github?
Yes, deleting the originating branch will delete the pull request.
Oct
25
comment Mac zip compress without __MACOSX folder?
THANK YOU :D :D :D :D
Oct
22
comment Rails 3 custom validation and shoulda
From my perspective, we should work to make the spec and the console output readable. But if you can't have both (kind see why) the output of the console is way more important, if you use the output in verbose mode. If you only use the dots, then the spec is more important. But I definitely like to see a good readable console output, specially when the tests fail :)
Oct
20
comment How do I check an array for duplicates?
monkey patches do tend to bite
Aug
22
comment fatal: bad default revision 'HEAD'
This just did it for me :)
1 2 3 4 5