You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uninitialized constant User::Boolean is raised when I define property :admin, Boolean in class User include Ripple::Document.
My current workaround is to copy/paste Ripple's module Boolean just before the model class declaration.
Error during failsafe response:
ActionView::Template::Error (Session contains objects whose class definition isn't available.
Remember to require the classes for all objects kept in the session.
(Original exception: uninitialized constant User::Boolean [NameError])
) in /Users/ftreacy/.rvm/gems/ruby-1.9.1-p378/gems/actionpack-3.0.0.beta3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb:
127.0.0.1 - - [02/Jul/2010 11:50:48] "GET /users/test@gmail.com HTTP/1.0" 500 - 0.2028
The text was updated successfully, but these errors were encountered:
uninitialized constant User::Boolean
is raised when I defineproperty :admin, Boolean
inclass User include Ripple::Document
.My current workaround is to copy/paste Ripple's
module Boolean
just before the model class declaration.The text was updated successfully, but these errors were encountered: