Open ghost opened 14 years ago
CouchDB - Custom Associations
class Document include SimplyStored::Couch belongs_to :creator, :class_name => "User" belongs_to :updater, :class_name => "User" end d = Document.new d.creator = User.first
leads to following error : ArgumentError: wrong number of arguments (2 for 1) in `belongs_to'
Which version of SimplyStored are you using? This feature was just recently committed and is only available in 0.3.4 which i just pushed.
CouchDB - Custom Associations
leads to following error : ArgumentError: wrong number of arguments (2 for 1) in `belongs_to'