citier icon indicating copy to clipboard operation
citier copied to clipboard

Weirdness. Why does loading the product effect my second identical call to Book?

Open morgz opened this issue 13 years ago • 2 comments

ruby-1.9.2-p0 > Book.first.respond_to?(:site_id) citier -> Root Class citier -> table_name -> products citier -> Non Root Class citier -> table_name -> books citier -> tablename (view) -> view_books => false ruby-1.9.2-p0 > Product.first.respond_to?(:site_id) => true ruby-1.9.2-p0 > Book.first.respond_to?(:site_id) => true

morgz avatar Jul 07 '11 17:07 morgz

Same here. I'm going to take a look at the problem and eventually pull a path ;)

educobuci avatar Jul 07 '11 18:07 educobuci

Cool. I think this may have been because I didn't drop and then create my views after adding site_id. WIll investigate today.

Also dropping views isn't working for me right now on mysql as it's create tables called 'view_books' instead of views... will be investigating and possibly opening issues into this too.

morgz avatar Jul 08 '11 08:07 morgz