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
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 | |__|__|_|)
(@!)!(@)**|(@) (@)|(@)
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
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
4 matches
Mail list logo