I am trying to run this very simple query
unless ram.blank?
      list = list.where(['numRam >= ?', ram])
end
it works perfectly on my local server where I am using mysql as my database, but it gives me this error in production where I use psql
2017-05-07 11:13:57 UTC ERROR:  column "numram" does not exist at character 68
2017-05-07 11:13:57 UTC STATEMENT:  SELECT COUNT(*) FROM "mobiles" WHERE "mobiles"."visible" = $1 AND (numRam >= '5')
Apparently, it changed numRam to numram which doesn't exist in my database. Is there any solution?
 
     
    