I’ve got a question about the find() method in RoR
This is my code:
actions=Action.find(:all, :conditions => “ActivityID=‘actid’”)
This should return a list, array, hash, … ? of Actions.
What type of data does find() return? And how do I run through it?
I would like to show Action.ActionCode for every action in actions.
for action in actions
output += action.ActionCode