Exception: ActiveRecord::UnsafeQueryError
- Inherits:
-
StandardError
- Object
- StandardError
- ActiveRecord::UnsafeQueryError
- Defined in:
- lib/safe_query.rb
Instance Method Summary collapse
-
#backtrace ⇒ Object
skip ourselves in the backtrace so it ends in the user code that generated the issue.
Instance Method Details
#backtrace ⇒ Object
skip ourselves in the backtrace so it ends in the user code that generated the issue
4 5 6 7 8 9 |
# File 'lib/safe_query.rb', line 4 def backtrace return @lines if @lines @lines = super @lines.shift if @lines.present? @lines end |