Joined March 2013
·
Achievements
60 Karma
0 Total ProTip Views
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Forked
Have a project valued enough to be forked by someone else
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Nice post and very helpful, have some code they may help others:
1) I think you meant to use
strip
instead ofstripe
in thetrack_event
method.2) Also, for people unfamiliar with HAML here is the equivalent code in ERB:
3) Here's a little refactor that may help in clarity:
track_event
inapplication_controller.rb
and
How to call
track_event
within a controller