View Single Post
Old 05-22-2007, 12:30 AM   PM User | #2
jayemvee
New Coder

 
Join Date: Jan 2007
Posts: 64
Thanks: 0
Thanked 1 Time in 1 Post
jayemvee is an unknown quantity at this point
I am also fairly new to rails... But it doesn't matter...

If you were using 2 different models, i forgot your exact post but here's an example of using 2.

def method_name
@user = User.find(@params["id"])
@images = Images.find_all(@params["id"])
end

As far as scaffolding 2 models... Any particular reason you want to? Scaffolding is sort of a temporary guide.
__________________
No trees were harmed in the transmission of this message.
However, a rather large number of electrons were temporarily
inconvenienced.
jayemvee is offline   Reply With Quote