Currently, I am upgrading my application from rails 3.2 to rails 4. When I navigate to a particular tab, I get the following error:
undefined method `raw' for #<LeaseController:0x00000006935e30>
My code:
vacant.tenant = raw("Vacant")
vacant.lease_start_date = raw(" ")
vacant.rent_end = raw(" ")
vacant.base_rent_monthly_amount = raw("")
vacant.base_rent_annual_psf = raw("")
vacant.options = raw("")
vacant.security_deposit_amount = raw("")
vacant.tis_amount = raw("")
vacant.lcs_amount =raw("")
Why is this method now undefined?