New Discussion

Notifications

You’re not receiving notifications from this thread.

How to change value of data that retrieve without updating database.

0
Rails

I want to change the value of the data I retrieve from the database. For example, when the data I retrieve is negative, I want to convert it to positive. However, the change must not affect the database.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 89,968+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.