From: Elr0ndK Asda Date: 2013-02-16T01:22:52+09:00 Subject: Re: Ruby "visionary" code The second one has been written only for a conditional validation (in the same model), example: - validate_presence_of :field, :if => :is_not_a_feature? But Ruby have also the unless, so it seems to me absolutely unuseful. In addition, I'm not expert of Rails and Ruby, but I think also that the first method is redundant: featured is a boolean field of the related database table and in my thought, adding an attr_reader for the featured field, there are no needs of other methods. -- Posted via http://www.ruby-forum.com/.