class Object
Public Instance Methods
find_by_sql(sql, binds = [])
click to toggle source
# File lib/model_observer/querying.rb, line 4 def find_by_sql(sql, binds = []) ActiveSupport::Notifications.instrumenter.instrument( "instantiate.model_observer", :sql => connection.to_sql(sanitize_sql(sql), binds), :name => "#{name} Instantiate") { origin_find_by_sql(sql, binds) } end