another fix for 1.9.2
This commit is contained in:
parent
4c8a70e370
commit
8895f9aca5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue