Ok, thanks guys. That works great for my "show" action.

But it doesn't seem to work when I try to paginate across a list of theaters (when showing search results). Do I need to add the status table to my query?

Thanks,
Patrick


On Nov 6, 2006, at 2:00 pm, Chris Abad wrote:

I think you need this:

:theater belongs_to :status (rather than has_one :status). Then add status_id to your theaters table.

You can then call the status name like this:

<%= theater.status.name %>

_______________________________________________
Sdruby mailing list
[email protected]
http://lists.sdruby.com/mailman/listinfo/sdruby

Reply via email to