search for: subscriber_pages

Displaying 1 result from an estimated 1 matches for "subscriber_pages".

2006 Jan 10
0
Paginate with two tables ?
...eate table contracts ( id integer auto_increment, subscriber_id integer, service_id integer, sign_date timestamp, representative varchar(128) not null, constraint fk_subscriber foreign key(subscriber_id) references subscribers(id), primary key(id)); There is something like this in controller: @subscriber_pages, @subscribers = paginate :subscriber, :per_page => 10 , :order => ''create_timestamp DESC'', :include => :contract But I''m getting error: You have a nil object when you didn''t expect it! You might have expected an instance of Array. 18: <td> 19: 2...