@southpolesteve well, you can, but they're the instance variables of the instance you are instance_eval'ing against. :)
So apparently you can't access instance variables from inside "instance_eval" DSLs: http://erniemiller.org/2012/06/07/accessing-instance-variables-in-squeel-or-fun-with-bindings-and-instance_eval/ …
-
-
-
@erniemiller true! this bit me hard with sunspot's solr DSL. Thanks for the blog post!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.