Danny Turner
Danny Turner
This behavior seems incorrect in the case where belongs_to has not been set. The parent is inserted by the fetch method of has_many_association (https://github.com/remiprev/her/blob/master/lib/her/model/associations/has_many_association.rb#L88) I believe that the to_params method...
Punch a hole in the association_proxy for scopes. Also inject the parents id if needed. Addresses https://github.com/remiprev/her/issues/215
A get request that receives no data returns an instance. However, the fetch method has_many_association implicitly assumes it will receive a collection. When it instead receives an instance https://github.com/remiprev/her/blob/master/lib/her/model/associations/has_many_association.rb#L88 attempts...
Follow on to remiprev#206 to add support for has_one in to_params. Also fixes remiprev#258
`15 6-23/2` instead of `15 6,8,10,...`