Piotr Kurek

Results 3 comments of Piotr Kurek

First of all using `try` is not good, cause you are asking your object about its state which is the opposite of [tell don't ask rule](http://robots.thoughtbot.com/tell-dont-ask). Additionally this feature is...

You don't have to use `Object#present?` it was just an example. Minimal setup is ``` ruby class Foo include ActiveModel::AttributeMethods attribute_method_suffix '?' define_attribute_methods :name, :lastname attr_accessor :name, :lastname def initialize(opts...

try out my fork :) https://github.com/pkurek/read-ruby