Thanks Arnaud, that works perfectly. I've got this sorted for my project but Bryan, would be good toget this fix and <radio-one> in to v2.
Anthony. On Friday, October 26, 2012 12:18:49 PM UTC+1, Arnaud Doyen wrote: > > Hi, > > I remember there was a change from rails 3.0 about conditions. You need to > get it using options[:conditions] instead of method "conditions". > > Then, you should use > ActiveRecord::Associations::BelongsToAssociation.new(this_parent, > this_field_reflection).options[:conditions] > > Regards, > Arnaud. > > 2012/10/26 tonym <[email protected] <javascript:>> > >> This is all just what I need, but I'm going round in circles trying to >> figure out why I'm getting an error... >> >> I've tried check-many and radio-one. Also tried modifying check-many, >> but with all cases I always get a 'undefined method `conditions' for >> #<ActiveRecord::Associations::BelongsToAssociation:0x32ee700>' >> >> Tried reproducing with tutorial 8 and get this same error. Any ideas on >> fixing this? Is it a v2pre issue or ruby/rails version related? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Hobo Users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/hobousers/-/UL3q-i8SwkgJ. >> >> To post to this group, send email to [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/hobousers?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/arxlJ1z75N0J. 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.
