Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
changing paging created by scaffold
Junkone
11/30/2007 11:56:00 AM
hello
the scaffolding created a list
def list
@trade_pages, @trades = paginate :trades, :per_page => 50
end
how to i change it so that the @trades will contain the result of a
custom sql?
thanks
seede
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
changing paging created by scaffold
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password