Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

undefined method `capture_position=' for nil:NilClass #371

Closed
bcackerman opened this issue Mar 20, 2016 · 1 comment
Closed

undefined method `capture_position=' for nil:NilClass #371

bcackerman opened this issue Mar 20, 2016 · 1 comment

Comments

@bcackerman
Copy link

Receiving an error undefined method 'capture_position=' for nil:NilClass in my haml view just using the example in the ReadMe. If I remove = f.link_to_add "Add a task", :tasks the page loads with no error. Any idea why this is being caused?

Full stack trace: http://pastie.org/10767851

@bcackerman
Copy link
Author

Ah, because I was rendering the inside of the form in a partial it was causing this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant