04 Jul '12, 4pm

@mattwynne @philip_roberts No, it's going to check new_record? at least. Check-out ActiveModel compliance

en: errors: # The default format use in full error messages. format: "{{attribute}} {{message}}" # The values :model, :attribute and :value are always available for interpolation # The value :count is available when applicable. Can be used for pluralization. messages: inclusion: "is not included in the list" exclusion: "is reserved" invalid: "is invalid" confirmation: "doesn't match confirmation" accepted: "must be accepted" empty: "can't be empty" blank: "can't be blank" too_long: "is too long (maximum is {{count}} characters)" too_short: "is too short (minimum is {{count}} characters)" wrong_length: "is the wrong length (should be {{count}} characters)" not_a_number: "is not a number" greater_than: "must be greater than {{count}}" greater_than_or_equal_to: "must be greater than or equal to {{count}}" equal_to: "must be equal to {{count}}" less_than: "must be less than {{...

Full article: http://yehudakatz.com/2010/01/10/activemodel-make-any-rub...

Tweets

Ruby Best Practices - Practicing Ruby, The News...

blog.rubybestpractices.com 03 Jul '12, 4am

Welcome, Hacker News folks. If you find the following project worthwhile, I’d really appreciate an up vote so that I can r...

Woods going back to future as 2012 shaping up like his memorable 2009:

Woods going back to future as 2012 shaping up l...

pga.com 02 Jul '12, 11pm

BETHESDA, Md. -- For all the endless parallels between the so-called new Tiger Woods and the old one, this was one compari...

Some neat software compliance & testing tools - EE Times (blog): #tools

Some neat software compliance & testing tools -...

eetimes.com 02 Jul '12, 6pm

Many source code management systems provide hooks for running tests during check in. These can make it trivial to perform ...

Broke a 3 month absence on RailsTips by posting...

railstips.org 05 Jul '12, 7pm

I have been thinking a lot about isolation, dependencies and clean code of late. I know there is a lot of disagreement wit...

Ruby Weekly Issue 100 - July 5, 2012:

rubyweekly.com 05 Jul '12, 1pm

Welcome to issue 100 of Ruby Weekly! Somehow the big 'one hundred' snuck up on me and I haven't got a contest, a celebrati...

Ruby is awesome. Anonymous Class Hacks:

blog.rubybestpractices.com 30 Jun '12, 11pm

Update: I came across an inlink to this page that was layering in advertisements in a frame. Luckily, there are technical ...

Practicing Ruby volume 1 + 2 manuscripts now on...

rubyflow.com 04 Jul '12, 7pm

Practicing Ruby volume 1 + 2 manuscripts now on github Posted by seacreature on July 04, 2012 — 0 comments I have been wan...