apotomo icon indicating copy to clipboard operation
apotomo copied to clipboard

Problem: `trigger` returns `nil`

Open kuraga opened this issue 11 years ago • 2 comments

Hello!

Problem: trigger returns nil. And I don't understand how to get something like (without patching and output straight to root.page_updates):

def a_event(evt)
  trigger(:b) + 'c' + trigger(:d)
end

(want to get bcd when trigger this event).

What do you think?

/cc @apotonick @kristianmandrup

kuraga avatar Jun 11 '13 13:06 kuraga

Sorry, no idea. I've moved on from Rails, not using it anymore unless I have to. I'm using AngularJS and DerbyJS now ;) So much easier! Rails is a dinosaur (enterprise) framework now (which the version 4 should tell you :P) Good luck!!

Kris

kristianmandrup avatar Jun 11 '13 14:06 kristianmandrup

We should fix that in the onfire gem which is NO-rails :-)

apotonick avatar Jun 11 '13 23:06 apotonick