Open axelkanakan opened 9 years ago
Went through the app and it seems to fail because klass is undefined in the ticket.rb search query method.
Rails points to this part of the search method and notes that 'klass' is undefined
association_table = association.klass.arel_table
Hi @krillencoder. We're still currently not quite up to that section of the book. We're currently a little earlier in the Chapter (11.4 iirc) and so we'll be getting to that section pretty soon.
Thanks for reporting this issue!
Keep getting this error
Failures:
1) Searching Finding by tag Failure/Error: expect(page).to_not have_content("Create users") expected not to find text "Create users" in "#1 - Create projects #2 - Create users"
./spec/features/searching_spec.rb:36:in `block (3 levels) in <top (required)>'
Finished in 0.24721 seconds 1 example, 1 failure
Failed examples:
rspec ./spec/features/searching_spec.rb:31 # Searching Finding by tag
Randomized with seed 35150
I've compared my code with the ticketee_review as well and it still doesn't pass...
Github:https://github.com/krillencoder/ticketee