hzamani / acts_as_relation

Multi table Inheritance for rails
http://hzamani.github.com/acts_as_relation/
MIT License
180 stars 58 forks source link

Defining :as => :___able unexpected results? #33

Closed jfrux closed 11 years ago

jfrux commented 11 years ago

I have a model page I have two other models like something and something_else. These two are set as acts_as :page, :as => :pagable.

For some reason, however, the query is still being built containing as_page_id and as_page_type when I would have expected it to use pagable_id and pagable_type

Am I miss understanding what's suppose to happen?

jfrux commented 11 years ago

Forgive me, Pow wasn't restarting as it's suppose to for some reason... it was just a cache issue and totally localized.