Displaying 2 results from an estimated 2 matches for "data_control".
Did you mean:
ata_control
2006 Mar 30
9
Getting data from multiple controllers (Newbie question)
Hello,
Assuming I have the following setup for one page:
<column A><data from controller 1 /> </columnA>
<column B><data from controller 2 /> </columnB>
<column C><data from controller 3 /> </columnC>
Assuming the page is created for Controller 2, what would be the best
way(s) to gather/render the data from the other controllers?
Best
2006 May 23
5
Wierd pagination problem - Unknown options: order?
...e:
def list
@upload_pages, @uploads = paginate :uploads, :per_page => 20, :order
=> ''id''
end
Yet I keep getting this error:
___________________________________________
ActionController::ActionControllerError in Data#list
Unknown options: order
/app/controllers/data_controller.rb:12:in `list''
/home/bclinton/work/eds/script/server:51
___________________________________________
If I take the order option out, it works fine. Anyone have any idea
what I am doing wrong here?
--
Posted via http://www.ruby-forum.com/.