Sha256: ffff08a120b66954fe303412009b0d75e5fa171a34033d3a3d206e3210bc63df
Contents?: true
Size: 314 Bytes
Versions: 2
Compression:
Stored size: 314 Bytes
Contents
class User < Edifice::Forms::FormModel attr_accessor :name, :location, :description validates :name, :length => {:minimum => 3}, :presence => true after_save :log_save def log_save User.model_saved end # this is just here so we can easily test for it. def self.model_saved end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
edifice-forms-0.5.1 | spec/rails3.1/app/models/user.rb |
edifice-forms-0.5.0 | spec/rails3.1/app/models/user.rb |