Hi all,
i spent some time trying to work through the getting started guide on
I have rails 3.0.5 and ruby 1.8.7.
In my opinion the sample code class Post < ActiveRecord::Base validates :name, :presence => true validates :title, :presence => true, :length => { :minimum => 5 } end
has an error. It should be something like :length => {:minimum => 1, :maximum => 100} or an exception will be thrown. Maybe this is related to the exact combination of 1.8.7 and 3.0.5 (on gentoo). But i guess there might be someone else stumbeling across that.
Thanks, Gerd