KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say I have a class called Post that has many initiated instances (i.e. Post.new(:name => 'foo') ). Is there a way to retrieve all the instances of that class by calling something on it? I'm looking for something along the lines of Post.instances.all
Tags (comma-separated)
Save Edits
Cancel