Exception: Arel::BindError
- Defined in:
- lib/arel/errors.rb
Instance Method Summary collapse
-
#initialize(message, sql = nil) ⇒ BindError
constructor
A new instance of BindError.
Constructor Details
#initialize(message, sql = nil) ⇒ BindError
Returns a new instance of BindError.
11 12 13 14 15 16 17 |
# File 'lib/arel/errors.rb', line 11 def initialize(, sql = nil) if sql super("#{} in: #{sql.inspect}") else super() end end |