I am trying to retrieve all BISAC nodes having the word "Art" in the description.
ba = Bisac.where(bisac_value =~ '.*Art.*')
NameError: undefined local variable or method `bisac_value' for main:Object
The equivalent cypher query retrieves 10 nodes.
MATCH (b:Bisac) WHERE (b.bisac_value =~ '.*Art .*') RETURN b;
What I am doing wrong here?
Removed Kaminari from pagination and used will_paginate. Used page_entries_info
Problem solved.