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

DSL Menu example is broken #362

Open
gavinlaking opened this issue Feb 18, 2016 · 2 comments
Open

DSL Menu example is broken #362

gavinlaking opened this issue Feb 18, 2016 · 2 comments

Comments

@gavinlaking
Copy link
Owner

vedeu/lib/vedeu/menus/menu.rb:97:in `items': undefined method `each_with_index' for nil:NilClass (NoMethodError)
    from /home/gavinlaking/Source/vedeu/lib/vedeu/menus/menu.rb:119:in `view'

Please run the examples before making releases in future Gav, as these kinds of bugs make you look like a twit.

Gav

@dymk
Copy link

dymk commented Feb 19, 2016

I was just about to file an issue about this ;) Good to see you've already encountered it, though!

gavinlaking added a commit that referenced this issue Feb 22, 2016
This example still does not render the menu, but now does not error.

Partially addresses #362.
@pmck91
Copy link

pmck91 commented Apr 25, 2017

error]    undefined method `data' for [nil]:Array
/Users/petermckinney/workspace/vedeu/examples/dsl_menus.rb:219:in `block (2 levels) in show'
/Users/petermckinney/workspace/vedeu/lib/vedeu/repositories/model.rb:40:in `instance_eval'
/Users/petermckinney/workspace/vedeu/lib/vedeu/repositories/model.rb:40:in `build'
/Users/petermckinney/workspace/vedeu/lib/vedeu/dsl/view.rb:62:in `view'
/Users/petermckinney/workspace/vedeu/examples/dsl_menus.rb:218:in `block in show'
/Users/petermckinney/workspace/vedeu/lib/vedeu/repositories/model.rb:40:in `instance_eval'
/Users/petermckinney/workspace/vedeu/lib/vedeu/repositories/model.rb:40:in `build'
/Users/petermckinney/workspace/vedeu/lib/vedeu/dsl/views.rb:151:in `composition'
/Users/petermckinney/workspace/vedeu/lib/vedeu/dsl/views.rb:105:in `renders'
/Users/petermckinney/workspace/vedeu/examples/dsl_menus.rb:217:in `show'
/Users/petermckinney/workspace/vedeu/examples/dsl_menus.rb:91:in `block in initialize'

Still seeing errors in this example

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

No branches or pull requests

3 participants