Tuesday, June 7, 2011

[Rails] sortable values

hi,
i want make a view with a table that i can sort, but values in this
table dont comes from one model.
for real its a table of users but in the end it show how contact have
this user ( user.contacts.count ). i can see the table,i can sort
columns except the last ("friends" ).
how can i resolve this probleme please.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate