forked from harrikauhanen/hyperactiveresource
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,
I have many to many relationship between Venue and Catalog
class Venue < ActiveRecord::Base
has_many :venue_catalogs
has_many :catalogs, :through => :venue_catalogs
end
class VenueCatalog < ActiveRecord::Base
belongs_to :venue
belongs_to :catalog
end
class Catalog < HyperactiveResource
self.columns = [ :id, :description]
end
when I call url /venues.xml I get
undefined method `quoted_table_name' for Catalog:Class
seems belongs_to HyperActiveResource is not recognizing catalog is not an ActiveRecord.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels