-
Proper error messages on rails
In order to have proper validation error messages on the web page I want to specify what the message will look like. Problem is that if you set validation message in your Person model like this: validates_format_of :email, :with => /\A([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})\Z/i, :message => ‘invalid e-mail address’ you get on you page error message like this: Continue reading
-
Hiring as a game
I saw an interview with Amy Jo Kim at Mixergy.com about game mechanics,recently. Today I saw Slideshare called Designing a Game Changer by Philip Fierlinger from Xero. At the and of the presentation is short notice that Xero is hiring. Than I just got an idea about making from hiring a game. Here is example Continue reading
-
jQuery bug or just strange behavior ?
Today I discovered some strange behavior of jQuery library, when I added some new functionality to our old adminstration. So I’ve got Form element with some inputs and submit button. On inputs are binded click event. That mean that only if you click on input element Event will fire, right ? But I found that Continue reading