Displaying 2 results from an estimated 2 matches for "314d".
Did you mean:
314
2006 Jul 09
2
using content from a model in application.rhtml
Hi all,
Not sure if Im doing this the right way (most likely not as I cant make
it work!)
I have an application that needs to put some content from two different
tables(db) on every page within the application.
What I thought I could do is write a small application helper that talks
to the model and asks for the data. But I cant for the life of me work
out how to actually talk to a model from
2006 Jun 13
2
four days on rails - nil object when you didnt expect it
Hi all,
Im trying to get my head around rails and to help along Im working
through "four days on rails" as this seems to give a good real world
example with multiple tables and relationships (the main thing I cant
work out!)
Ive got stuck. Some help would be really good here.
The controller has this code:
def list
@category_pages, @categories = paginate(:category, :per_page =>