0
0
Fork 0

another fix for 1.9.2

This commit is contained in:
Gibheer 2011-06-28 21:37:37 +02:00
parent 4c8a70e370
commit 8895f9aca5
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class Post
property :id, Serial
property :title, Text, :required => true
property :written, Time, :default => (lambda { Time.now })
property :written, Time, :default => lambda {|r, p| Time.now }
property :released, Boolean, :default => false
property :markup, Text, :default => 'textile'
property :content, Text