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

Undefined method error using simple example #30

Open
geremyCohen opened this issue Nov 18, 2013 · 0 comments
Open

Undefined method error using simple example #30

geremyCohen opened this issue Nov 18, 2013 · 0 comments

Comments

@geremyCohen
Copy link

Hi-

In my show partial, I get:

undefined method `empty?' for #<MyModel:0x00000003003a18>

Stack trace:

activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in `method_missing'
activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:in `method_missing'
tabletastic (0.2.3) lib/tabletastic/helper.rb:18:in `default_class_for'
tabletastic (0.2.3) lib/tabletastic/helper.rb:6:in `table_for'

Using your simple example:

<%= table_for(@bundle) do |t|
t.data
end %>

Ruby 1.9.3 on Rails 3.2.13

Any ideas?

Thanks!

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

1 participant