Hi friends,

How to use javascript variables in ruby.

i have activity id on a_id

function(a_id)
{
<%@foo=Activity.where("activity_id = ? ", a_id)
}

how can solve it

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CADKeJyTrV2TvTk1mLL_2h0YRPzR%2B0YdmdhK%2BbnTWCyV89haDbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to