KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What's the best way to refresh a given model attribute? I.e., functionally, I want this: post.body = Post.find(post.id).body with a nicer syntax. Maybe post.reload_body! Edit: I only want to reload a single attribute (not all attributes at once)
Tags (comma-separated)
Save Edits
Cancel