Exception: Arel::BindError
- Defined in:
- activerecord/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 'activerecord/lib/arel/errors.rb', line 11 def initialize(, sql = nil) if sql super("#{} in: #{sql.inspect}") else super() end end |