Displaying 1 result from an estimated 1 matches for "stacanov".
Did you mean:
shabanov
2011 Jun 09
3
Basic database question
Hi there
Yes, I know very little of ruby. I must take a crash course?
Probabily.
Anyway, I try to ask this here.
I have a control: customer_controller.
From here, I can do something like:
@id = 1
@customer = Customer.find(id)
Now @customer will contain all the fetched record for customer with id
= 1. Great.
From this controller I will render an html page. Somewhere the view
will print test.