Passing Array

I want to pass array of items to controller method

@users = User.find(:all)
<%=link_to “Generete”,:action => “generate”,:users => @users%>
but the above code is not working…
how i should do it…
any helps pls

Newb N. wrote:

I want to pass array of items to controller method

@users = User.find(:all)
<%=link_to “Generete”,:action => “generate”,:users => @users%>
but the above code is not working…
how i should do it…
any helps pls

What are you trying to do?

Pale H. wrote:

Newb N. wrote:

I want to pass array of items to controller method

@users = User.find(:all)
<%=link_to “Generete”,:action => “generate”,:users => @users%>
but the above code is not working…
how i should do it…
any helps pls

What are you trying to do?

i m trying to create report using excel

Newb N. wrote:

Pale H. wrote:

Newb N. wrote:

I want to pass array of items to controller method

@users = User.find(:all)
<%=link_to “Generete”,:action => “generate”,:users => @users%>
but the above code is not working…
how i should do it…
any helps pls

What are you trying to do?

i m trying to create report using excel

I meant, what’s the application supposed to actually display?