I just added a float field to my table and for some reason I keep getting this error when trying to show it on the view
ActiveModel::MissingAttributeError
Does anyone know why? My view simply looks like
%td= item.tax_rate
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I know why this is happening now. I am doing a select on the query and I did not select the field that I need.