Displaying 20 results from an estimated 300 matches similar to: "Parsing params (one of the params value has ampersand)"
2012 Aug 08
1
Memcache and Rails - Storing String as values.
Hello all,
I have been using Memcache with my rails application to store certain
key value pair.... I am using Dalli gem for the same... So Here''s what i
do from console:
require ''dalli''
dc = Dalli::Client.new(''remoteserver:11211'')
dc.set(''example_link'', "http://www.google.com")
=> true
value =
2010 Mar 31
6
any body can help me ?? why is this happen??
Hii All
I use ruby 1.8.7
I run irb and type:
a = (0.29 * 100).to_i
the result is 28
why??????
could u explain to me.. Please????
THank you
--
Senior Rails Developer
Anton Effendi - Wu You Duan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2007 Jan 03
1
Ampersand in Folder names causing folders to disappear?
Hi All,
Dovecot 1.0.rc7
Not sure if this is a problem with Outlook, or with Dovecot, or to do
with encoding in Linux.
Whenever a user enters an ampersand into an IMAP folder name, it
dissapears from outlook. These folders appear on the ext3 filesystem as
&- for example
drwx------ 5 mailusers mailusers 4096 2006-10-10 17:54 .INBOX.Networks.London Networks.NDCs.WH&-P joint working
2005 Sep 30
1
Ampersand in Auto Complete Entry Broken
Hi,
I have been playing around with the autocomplete field in Rails 0.13. I have
noticed that if I have an ampersand in the value such as "A&E", if I click on
the entry in the autocomplete list, I am left with just A in the text box. I
have narrowed it down to:
String.unescapeHtml() in prototype.js as what strips the & and what follows it
from the value. It strips it
2010 Dec 31
1
Ampersand (&) in filename
Wine has been working great on my Mac, but when I tried to start Black & White after installing, I can't get it open because the filename is literally "Black & White". Does anyone know what to do about the ampersand in Terminal? Or is there another way to start installed programs in Wine that I'm missing other than through Terminal? Thanks!
2006 Jun 06
1
Ampersand Crashes Ruby
I''m using acts_as_ferret and when I call Object.find_by_contents("A &
B"), Ruby dies with the following message:
^Cruby(5014,0xa000cf60) malloc: *** vm_allocate(size=1069056) failed
(error code=3)
ruby(5014,0xa000cf60) malloc: *** error: can''t allocate region
ruby(5014,0xa000cf60) malloc: *** set a breakpoint in szone_error to
debug
ruby(5014,0xa000cf60) malloc:
2007 Aug 26
0
escaped ampersand in generated restful url
I am using a restful helper method to build a url for use in a
link_to_remote method and for some reason the generated url has the
ampersand that separates the parameters escaped (i.e.
/action?param1=1&param2=2 instead of /action?param1=1¶m2=2)
Any ideas why and how to make it stop? :-) The code in question resides
in a helper, if that matters...
Cheers,
s0nspark
--
Posted via
2009 Apr 01
1
ampersand in local-part
I have a new email server (postfix/dovecot/mysql) with accounts
migrated from another server (different platform) and email addresses
with ampersands like "r&d at domain.com" that worked on my old email
server are not working now.
I'd like some help tracking this issue down.
Can anyone tell me if this looks like a postfix, dovecot or mysql issue?
Some log info follows.
2009 Aug 05
0
xend -x ampersand''s
Does anyone know if the -x option including ampersands issue has been
fixed? I found references to the bug with virt-install from rhel, but
I can''t locate anywhere that a bug was recognized with xend and
corrected.
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2007 Mar 21
0
[908] branches/wxruby2/wxwidgets_282/doc/textile/control.txtl: Add note on use of ampersand characters in Wx::Control labels
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2009 Aug 26
0
Way to keep ampersand from getting sanitized?
I have an error message with an html character entity in it ( µ/
µ ). My trouble is, rails swaps my & with & - leaving me with
µ getting shown literally in the message rather than a nice,
neat Greek mu: μ.
I should probably add that the error message is set in a validate
routine on a model - via errors.add() - not in view code.
Is there a trick to this? I
2007 Feb 06
3
Form won't accept ampersand
Hi guys,
My start_form_tag generated form will not accept a text field containing
an ampersand.
For example, the text ''A & B'' is trunacted to ''A'' in the param hash.
I know ampersands have to be encoded in URLs, but I''m surprised my form
has a problem with this. I''ve tested this in Safari and Firefox.
thanks
Lindsay
--
Posted via
2010 Jun 13
2
Rails 3, ActionMailer and urls (ampersand encoding)
In Rails 2, if I used an url in a plain text message it was sent as is,
but it seems to be changed in Rails 3.
The url http://ab.cd/ef?g=1&h=2 seems to be now translated to
http://ab.cd/ef?g=1&h=2 even if the message is plain text.
Is it correct? I''ve written my tests previously considering it should
not be encoded in plain text messages and these tests are failing when
2006 Aug 10
5
Ampersand Heartburn
Greetings all.
I''m using the Microsoft "NorthWind Traders" database "orders" table as
test data for the Rico LiveGrid JavaScript.
The problem I''m noticing is that some of the records in the "ShipName"
field contain ampersands -- which for some reason are not being escaped
by Rails.
Rails does in fact automatically escape all of the other
2009 Jan 16
2
mini-PCI FXS card?
Is there any product that's a single port mini-PCI FXS card?
I'm aware of the Openvox A400M
<http://www.openvox.com.cn/products.php?genre_id=39>, but I really only
wanted one port.
How about a single or dual port PCI or PCI express FXS card?
Basically I wanted to build a small linux router with one or two phone
ports.
Alternatively, is there already a router or single board
2011 Mar 12
2
two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required
1)
deleting path/to/(Something) Word Word Anotherword--Word Word.pdf
IO error encountered -- skipping file deletion
I think either the -- is causing it to fail, or more likely, the next
filename, which it didn't bother to print out, which has an ampersand
in the name, causes it to fail.
I am using SSH as a substrate, of course, and I think you guys failed
to escape things, so the ampersand
2005 Jan 12
3
What is the best and easiest flavor to be usedwith Asterisk.
Almost any distro will do, since 2.6 kenels are bleeding edge you might
have to spend more time getting everything working, and in most cases
you are best served by determining which distro your hardware
manufacturer supports, Dell typically supports only redhat, HP supports
suse on many boxes. While there are workarounds, having the hardware
manufacturer deal with driver issues is a bonus.
2010 Feb 22
3
Rails 2.3.5/Ruby1.8.7 Collection_Select Labels with ampersands "&"
I am having an annoying problem displaying the labels of a select box
correctly where there is an ampersand contained within the label
string.
On a form being rendered with the form_for helper the
collection_select reads data from a Mysql 5.075 database the text
stored in the database is "Surabaya & Surrounding Areas" when rendered
and displayed in firefox 3.6 or safari is is
2006 Jun 16
0
Double encoded ampersands in form actions
My form tag looks like:
<%= form_tag :controller => "admin", :action => ''update_preset'', :id =>
@preset, :popup => params[:popup], :editor => params[:editor] %>
which I want to be rendered something like:
<form action="/admin/documents/update_preset/?editor=1&popup=1"
method="post">
but instead I get double
2018 Jan 08
2
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
When we discussed this our line of thought was like this:
- LLVM IR already uses %name for SSA values which is closer to what a vreg is than to what a physreg is. It would be neat to draw that parallel to llvm IR.
- We wanted another sigil for physregs so they are easy to differentiate from vregs to allow people to differentiate vregs/physregs even if they don't know all the physreg names of