replacing a table with a table-plus causes an error if <old-form/> is
used in extended form tag:
"undefined method `reverse_reflection' for NilClass:Class".
Something is set up wrong, somewhere in my app.
Some more verbose. My tag extension:
<extend tag="form" for="Item">
<old-form/>
</extend>
My index page:
<index-page>
<collection: replace>
<table-plus>
<empty-message:>No matches among item name or sku</empty-message:>
</table-plus>
</collection:>
</index-page>
My model associations:
class Item < ActiveRecord::Base
# ...
has_many :variants, :class_name => "ItemSupplier", :accessible =>
true, :dependent => :destroy
has_many :lineitems, :class_name => "OrderItems", :dependent
=> :destroy
has_many :suppliers, :through => :variants
Not really familiar with the error, and all my associations and
reverse associations look ok. What's it mean?
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.