Displaying 20 results from an estimated 20000 matches similar to: "Using a New Builder Version"
2006 Jul 14
2
how to get builder 2.0 to escape attributes in rxml
I am using rxml to produce opml files and need to escape ampersands in
the attributes.
builder 2.0 docs found at http://builder.rubyforge.org/ show the
following
xml = Builder::XmlMarkup.new
xml.sample(:escaped=>"This&That", :unescaped=>:"Here&There")
xml.target! =>
<sample escaped="This&That"
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 May 05
0
Rd parsing
On 05/05/2009 5:04 AM, robin hankin wrote:
> Hi Duncan
>
> I asked this question to R-devel, and there was no reply, so I thought
> I'd ask you
> directly. Any ideas?
>
> best wishes
>
> Robin
>
>
>
>
> I am having difficulty including a LaTeX formula in an Rd
> file.
>
> The example given in section 2.7 in 'Parsing Rd files'
2006 Jul 18
4
Some basic questions
Hi, David and everyone,
I''ve had Ferret running fine in a production Rails application for a
while now. I haven''t updated Ferret or really looked at the
Ferret-related code since probably January, but I recently started
thinking about trying out the latest version (we were using 0.3.2, I
think). I got the latest (0.9.4) and have noticed things break. In
particular, I used to
2006 Apr 01
2
Textile headaches
I have the newest version of RedCloth installed (3.0.4). I want the
following output:
<h1>Header</h1>
<p>Some text</p>
This is what I tried but no luck:
irb(main):002:0> require ''rubygems''
=> true
irb(main):004:0> require_gem ''RedCloth''
=> true
irb(main):006:0> RedCloth.new("h1. Header\r\nSome Text").to_html
2006 Jun 19
0
FileUtils/ActiveRecord help please?
Does anybody know how to make FileUtils and ActiveRecord coexist? Every
attempt I have made results in errors like those quoted below.
[belladonna-grr] ~ <0> irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''fileutils''
=> true
irb(main):003:0> include FileUtils
=> Object
irb(main):004:0> require_gem
2009 Feb 19
0
Can't seem to instantiate Builder::XmlMarkup.new?
I am unable to instantiate the Builder::XmlMarkup.new on one
development machine ( Windows ) and upon my CentOS server. When I run
the same code on my Ubuntu 8.10 VMWare machine, everything runs great?
In the Builder documentation ( http://builder.rubyforge.org/ ) it
shows to put this at the top of the controller;
require ''rubygems''
require_gem ''builder''
but
2006 May 16
0
IRB -- Readline -- WinXP
I keep on running into an irb/readline bug in script/console or plain irb. If the line
lengths get to long then up-arrow won''t bring up the line properly. I guess that the
readline buffer is only so many characters long and I''m clobbering something. After it
gets clobbered then up-arrow only prints an ampersand.
W
-------------- next part --------------
An HTML attachment
2007 Apr 23
3
Troubles with using gems in Rails
Hi!
I''m observing some problems using gem inside Rails. My understanding is
that after following sequence in irb:
$ irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''active_record''
=> true
irb(main):003:0> gem ''acts_as_taggable''
=> true
I should have access to acts_as_tagable mixins, like:
2006 Feb 04
0
home install frustration
Hello list,
I''m new to rails (and first time poster here).
I''m trying to get rails installed on my shell, haxeh.com, and I''m having
some issues.
First, some background:
- I have installed ruby to ~/local/bin/ruby
- I have installed rubygems to ~/local/bin/gem with all gem installs going
into ~/.gems
- I have also installed a bunch of gems, including rails, and they
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
2006 Jun 13
0
script/console and IRB readline failure
Long input lines are confusing the readline on my script/console and irb sessions. I hit
back-arrow and suddenly the cursor goes up to the next line. Thereafter the previous-line
fails to work, giving me just an ampersand (&) instead of the previous line to re-edit.
WinXP SP2.
Warren Fred
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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
2006 Apr 11
26
Firefox won''t let me send ''&'' with AJAX!
Hi everyone,
I''ve encountered a HUGE problem, which may not be RoR-oriented, but
there might be a workaround somehow.
See, at this moment, I''m unable to send AJAX requests back and forth
when the information contains an ampersand (''&''). In essence, request is
never completed. The odd thing is that it only happens with Firefox (IE
and Opera works fine).
2006 Feb 23
11
Can''t use Gruff with Rails
Hello list,
I''m having a problem getting Gruff working with Rails on a Windows XP box.
I installed RMagick, then Gruff via the win32 gem, and it seemed to go
OK. From irb, I can do the following
- require ''rubygems'' ##### This returns ''false'', but seems to work OK
- require ''gruff'' ####### Ditto
- g = Gruff::Bar.new
etc., and I get
2002 Sep 20
3
"@" doesn't work in the NT domain name
I am part of a large worldwide Active Directory and all of our individual
site NT domain names have an ampersand symbol in them
(for example: VWS@ROCHESTER) Samba 2.2.6pre2 and older won't join this
domain name, or allow connections to it from users in this domain. The
logs state that the domain name is "VWS_ROCHESTER", the code is squashing
the @ to an _ causing all
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
2006 Jun 16
2
DISABLE auto-escaping in image_tag helper
Is there any way to disable image_tag''s automatic escaping of special html
entities in it''s :alt tag?
Example:
>From the controller:
@sale[''title''] = ''My Company Product©''
In the view:
<%= image_tag(''path/to/file.png'', :alt => @sale[''title'']) %>
Output:
<img alt="My Company
2024 Jan 25
0
asterisk release 18.21.0
The Asterisk Development Team would like to announce
the release of asterisk-18.21.0.
The release artifacts are available for immediate download at
https://github.com/asterisk/asterisk/releases/tag/18.21.0
and
https://downloads.asterisk.org/pub/telephony/asterisk
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!
2024 Jan 25
0
asterisk release 18.21.0
The Asterisk Development Team would like to announce
the release of asterisk-18.21.0.
The release artifacts are available for immediate download at
https://github.com/asterisk/asterisk/releases/tag/18.21.0
and
https://downloads.asterisk.org/pub/telephony/asterisk
This release resolves issues reported by the community
and would have not been possible without your participation.
Thank You!