Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 5 Arbre bug: instance variable not set #4360

Closed
seanlinsley opened this issue Mar 23, 2016 · 4 comments
Closed

Rails 5 Arbre bug: instance variable not set #4360

seanlinsley opened this issue Mar 23, 2016 · 4 comments
Labels

Comments

@seanlinsley
Copy link
Contributor

undefined method `title' for nil:NilClass (ActionView::Template::Error)
./spec/rails/rails-> 5.x/app/views/admin/posts/review.html.arb:2:in `block in _app_views_admin_posts_review_html_arb___4279224217782219933_148541500'
./spec/rails/rails-> 5.x/app/views/admin/posts/review.html.arb:1:in `new'
./spec/rails/rails-> 5.x/app/views/admin/posts/review.html.arb:1:in `_app_views_admin_posts_review_html_arb___4279224217782219933_148541500'
features/specifying_actions.feature:89:in `And I follow "Review"'

(link to the test)

Note that the test above it passes. They're identical except that one uses an ERB template, and one uses an Arbre template. This is only an issue on Rails 5.

@seanlinsley
Copy link
Contributor Author

It would be best to try and identify the exact commit to Rails that introduced this bug.

@seanlinsley
Copy link
Contributor Author

@seanlinsley
Copy link
Contributor Author

Looks like 5.0.0.beta2 passed but 5.0.0.beta3 failed.

@seanlinsley
Copy link
Contributor Author

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

No branches or pull requests

2 participants