Skip to navigation
How to convert an rails activerecord into an array?
07.12.13
ar = record.collect{ |u| [u.id,u.name]}
Reply
Anonymous
how to convert an rails activerecord into an array?
ar = record.collect{ |u| [u.id,u.name]}
07.12.13
Reply
Anonymous
Information Epoch 1746093994
A language that doesn't affect the way you think is not worth knowing.
Home
Notebook
Contact us