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
module modd
class device < CouchRest::ExtendedDocument
attr_accessor :device_id
property :device_id
view_by :device_id
end
end
on the database a design document would be stored as "_design/modd::device", its revision will be updated on every access to the database even for simple query like device.all.count
i've tried putting the class outside of the module and it works fine, "_design/device" doesn't get updated on every access to the database
The text was updated successfully, but these errors were encountered:
Issue from: http://github.com/couchrest/couchrest/issues#issue/16
i have a CouchRest::ExtendedDocument of this form
module modd
class device < CouchRest::ExtendedDocument
attr_accessor :device_id
property :device_id
end
end
on the database a design document would be stored as "_design/modd::device", its revision will be updated on every access to the database even for simple query like device.all.count
i've tried putting the class outside of the module and it works fine, "_design/device" doesn't get updated on every access to the database
The text was updated successfully, but these errors were encountered: