KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I get the attribute from the model object dynamically? I have the attribute of the User object as string: u = User.find(1) Can I do something like u.get("user_id")
Tags (comma-separated)
Save Edits
Cancel