среда, 30 января 2013 г.

[["validates_presence_of",{"message":"Hey, you forgot to let us know how you feel \u2014 please ente


For all of the basic things people easily forget to pack for travel—cell 5 star london hotels phone chargers, toothbrushes—it's amazing what people find time to slip in. Like, say, belt-buckle knives, landmines and, um, chastity belts.
The Transportation Security 5 star london hotels Administration, whose agents make sure your shoes are off at the airport, has a blog with a roundup of some of the most dangerous and odd things found and said at checkpoints each week.
[["validates_presence_of",{"message":"Hey, you forgot to let us know how you feel \u2014 please enter a comment."}],["validates_length_of",{"too_long":"Easy there, Tolstoy. Your comment cannot exceed 1500 characters.","maximum":1500,"allow_blank":true}]]
[["validates_presence_of",{"message":"Please enter your email address."}],["validates_format_of",{"with":["^([^@\\s]+)@((?:[-a-z0-9]+\\.)+[a-z]{2,})$","i"],"message":"Your 5 star london hotels email address is not formatted properly. Please try entering it again."}]]
[["validates_presence_of",{"message":"Please enter your email address."}],["validates_format_of",{"with":["^([^@\\s]+)@((?:[-a-z0-9]+\\.)+[a-z]{2,})$","i"],"message":"Email address is not formatted properly."}]]

Комментариев нет:

Отправить комментарий