ruby on rails - trouble with ALL of the backbone association plugins -


there basic setup of rails backbone app keeping of major backbone associations solutions working.

even identical simple models/collections shown in (rather limited) docs, running same problem several different potential solutions (relational, jjrelational, backbone-association).

for reason when goes set "relational stuff" backbone model definition, dying when tries "this.__set(models, options)" (each of them has different syntax basic operation -- of them show super class "set" method undefined!)

there must app setup or selection of gems etc. causing this, i've run out of ideas.

here context: rails 4 "scaffold" generated app backbone-rails added , jquery rails , jquery ui added.

where "set" method come , cause missing? each of these different associations add-ons, have found basic model definitions , how i'm using them work fine long leave "relations" block of model commented out. commented out, association-related code doesn't need override "set", proceeds normally.

comment in , each of them finds original "set" undefined , can't past that.

i include code here, since doing same thing several different association add-ons (each models defined shown in example), seems problem outside of model def.'s.

i have googled fingers bone no resolution. ideas welcome (even crazy ones).

help?


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -