Displaying 1 result from an estimated 1 matches for "shockton".
Did you mean:
stockton
2006 Apr 17
9
ruby on rails book, fundamental question
Hi guys,
bought the ROR book. I understand most of it and really like it. There
is just on thing I just dont get.
Lets take this code for example.
def list
@products = paginate :product, :per_page => 10
end
As far as I understand @products should be some kinda hash or array,
with the data of the Database inside.
How can I display this array ?
One solution is to do it like this (like in