class Object

Public Instance Methods

_tracker_times_called() click to toggle source
# File lib/train_track.rb, line 43
def _tracker_times_called
  @_tracker_times_called ||= 0
  @_tracker_times_called
end
user_method() click to toggle source

Find the current_user of the controller Done by using current_user

# File lib/train_track.rb, line 39
def user_method
  current_user
end