Hello frnds
I want to store the object in a table how to do that?
eg:-
<% @desc = post.send(“description”).match(/\S+@\S+.\S+/) %>
here @desc will have list of data so that fetched info I Want to store
into one table. Can ne one tell me how to do that?
thanks
dhaval parikh
Hi,
I want to store the object in a table how to do that?
not sure if it’s what you are after, but if it is, then the serialize
method of AR will be a perfect match. Basically it can -transparently-
convert any serializable object to a string back and forth between ruby
and your db table.
regards,
javier ramirez