Oops missed the "but". I will fix them.

Thanks,
Pratik


On Mon, Jun 10, 2013 at 3:30 PM, Kim Miller <notifications@github.com>wrote:

> In app/controllers/proposals_controller.rb:
>
> > @@ -150,6 +158,54 @@ def find_hub
> >      @hub = Hub.find(params[:hub]) if params[:hub]
> >    end
> >
> > +  def modify_create_params(params_hash)
> > +    if parent_proposal
> > +      params_hash[:proposal].delete :parent_id                 #needed to pass some tests
> > +      params_hash[:proposal].delete :votes_attributes          #exsited before, not sure if needed.
> > +      params_hash[:proposal][:parent] = @parent
> > +      params_hash[:proposal][:hub_id] = @parent.hub.id
> > +    else
> > +      #if params_hash[:proposal][:votes_attributes].first
>
> Sorry, meant to say *"I have all -but- 4 tests passing"*
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/railsforcharity/spokenvote/pull/216/files#r4623208>
> .
>