query strings built by R method can't handle multiple values from checkbox selections

2008-05-08 Thread Ronald Evangelista
query strings built by R method can't handle multiple values from checkbox selections R(SomeRoute, :reply_status=%w{1 2 4}) should return query_string= http://localhost:3301/someroute/?reply_status_id=1reply_status_id=2reply_status_id=4 qsp(query_string) - {reply_status_id=[1, 2, 4]} from

where do i get the return value of a javascipt method?

2007-11-21 Thread Ronald Evangelista
how do i get the value of a javascipt confirm() function? a(:href=R(DeleteUser, @user.id), :onclick = javascript:confirm('You sure about this?')){label} any tips? thanks! -- |\ .|| |NALDEVNGELSTA.___||'|\___, | l | |__|__|_|) (@!)!(@)**|(@) (@)|(@)

where do i get the return value of a javascipt method?

2007-11-21 Thread ronald
i got the same solution just before reading ur reply. thanks! ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

help on helper module inclusion/extension

2007-11-06 Thread Ronald Evangelista
I want to include helper methods included to my Camping App from by requiring an external file but I can't seem to include helpers from another module. module CampingHelpers def self.included(base) base::Helpers.send(:include, Helpers) end module Helpers def show_test