# File ar-extensions/lib/ar-extensions/extensions.rb, line 370 def self.field_result( str, caller ) negate = false if match_data=str.to_s.match( NOT_EQUAL_RGX ) negate = true str = match_data.captures[0] end fieldname = caller.connection.quote_column_name( str ) RegexpResult.new( fieldname, negate ) end