Permalink
Browse files

Updated schema patch to declare property types correctly.

  • Loading branch information...
1 parent 5062970 commit 94ea2ed230257942e3dd412844927b4e5a3446c5 @misaka misaka committed Sep 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/devise/orm/ripple.rb
View
@@ -17,7 +17,7 @@ module Schema
def apply_devise_schema(name, type, options={})
return unless Devise.apply_schema
- property name, :cast_as => type
+ property name, type
end
end
@@ -75,4 +75,4 @@ def user_id_from_conditions(conditions)
Ripple::Document::ClassMethods.class_eval do
include Devise::Models
include Devise::Orm::Ripple::Hook
-end
+end

0 comments on commit 94ea2ed

Please sign in to comment.