Nathan Van der Auwera nathanvda

Nathan Van der Auwera
  • Nathan Van der Auwera cb7fb4f
    Add option to use default scope.
Nathan Van der Auwera
nathanvda commented on issue nathanvda/cocoon#266
Nathan Van der Auwera

Please post this question on stackoverflow instead.

Nathan Van der Auwera
get Data and put in span.help-block
nathanvda commented on issue nathanvda/cocoon#266
Nathan Van der Auwera

Hi! Thank you to take the time to pose such a well documented question. However, I feel to see the relation to cocoon. If you would use simple_form

nathanvda commented on issue nathanvda/cocoon#265
Nathan Van der Auwera

I saw your ticket before going to bed, did not see any immediate error. Great you solved it.

Nathan Van der Auwera
Passing variables to partial through link_to_add_association
nathanvda commented on issue nathanvda/cocoon#257
Nathan Van der Auwera

Passing variables to the render should work (except that the partial is rendered only once). Using a callback is imho the best solution, this what …

nathanvda commented on issue nathanvda/cocoon#264
Nathan Van der Auwera

Seems like the cocoon gem is not installed or not loaded (not required). Cocoon is in your gemfile? When deploying, bundle install will skip develo…

nathanvda commented on issue nathanvda/cocoon#257
Nathan Van der Auwera

@choonkeat imho @gonzag88 just wants to assign a unique html-id to an item or div, which cocoon does not do, it does make sure the input-forms are …

nathanvda commented on issue nathanvda/cocoon#263
Nathan Van der Auwera

:+1:

Nathan Van der Auwera
Save multiple parent(or level one) records
nathanvda commented on issue nathanvda/cocoon#248
Nathan Van der Auwera

Closed due to inactivity.

Nathan Van der Auwera
Unable to install via bundler
nathanvda commented on issue nathanvda/cocoon#251
Nathan Van der Auwera

Closed due to inactivity.

nathanvda commented on issue nathanvda/cocoon#263
Nathan Van der Auwera

No errors? Then I am guessing a strong parameters issue. I would assume the listing_attributes should be nested inside the guide_listing_attributes

nathanvda commented on issue nathanvda/cocoon#212
Nathan Van der Auwera

And that is not obvious from the examples? Is reading haml a problem for you? There is a wiki page with the ERB examples. Maybe it is not clear eno…

nathanvda closed pull request nathanvda/cocoon#261
Nathan Van der Auwera
Adopt rubocop codestyle
nathanvda commented on pull request nathanvda/cocoon#261
Nathan Van der Auwera

Thanks for your effort. I seem to be a bit reluctant to do this, I am trying to figure out why. I generally like consistency, my code generally has…

nathanvda commented on issue nathanvda/cocoon#260
Nathan Van der Auwera

In the controller, when a validation failed, and you want to set the destroy flag, in the controller, you would need to do something like: @proje…

nathanvda commented on issue nathanvda/cocoon#260
Nathan Van der Auwera

The default rails behaviour will just send the received form-parameters back to the client, without changing anything. So indeed: deleted items wil…

nathanvda commented on pull request nathanvda/cocoon#203
Nathan Van der Auwera

@beydogan is that just a simple example to show how it works? Because imho why show a "add" button, to only check after pressing it? Just hide the …

nathanvda commented on issue nathanvda/cocoon#244
Nathan Van der Auwera

The only part that should be in the page:load is the hiding of the removed fields. Listening to an event that is never triggered (without turbolink…

nathanvda commented on issue nathanvda/cocoon#259
Nathan Van der Auwera

And did you consider rendering the complete form server-side? Not really sure if it applies in your case, but prepopulating a form via ajax, sounds…

nathanvda commented on issue nathanvda/cocoon#244
Nathan Van der Auwera

I disagree.

nathanvda commented on pull request nathanvda/cocoon#258
Nathan Van der Auwera

Did you actually test this? Because according to the documentation this will fail: upon multiple page-reloads it will bind several click-handlers t…