Displaying 20 results from an estimated 600 matches similar to: "Encoding error"
2011 Sep 02
3
problems with oracle xe server connection
i''m working on ubuntu 11.04; i need to create some rails application
with oracle database on local computer.
i installed: ruby 1.9.2, rails 3.1, oracle 10g XE, rubu-oci8 2.0.6,
gem ''activerecord-oracle_enhanced-adapter'', create database user named
''orak'' with password ''orakpass'' through 127.0.0.1:8080/apex, i maked
new application
2011 Jun 29
3
Rails double submit -> double post -> duplicate data
Hi,
We are encountering occasions where users post twice or more a
form, basically we have detected two situations:
a) The user push twice enter
b) The user push double click on button "save" or "submit"
We consider that this becomes a problem when creating (because we
duplicate data) and we think that in some context it could become a
security issue
2012 Feb 02
3
MVC questions with rails
2012 Jan 27
2
dealing with Encoding::UndefinedConversionError: "\xA2" from ASCII-8BIT to UTF-8
I''m 99% certain that this is what''s being discussed in
https://github.com/tenderlove/mechanize/issues/168
But I''m not sure what the remedy is. My production app is running on
Heroku, so I need a fix that I can push there. Can someone post
instructions that this neophyte can follow? (I gather I''m supposed to fork
and add the current master version from
2011 Jan 23
1
Force UTF-8 encoding
I''m writing an upload script for contact management, but having encoding
issues:
#=> Encoding::UndefinedConversionError: "\xFA" from ASCII-8BIT to UTF-8
I will not always know the encoding supplied, and this is the result of
`some_string.encode("UTF-8")`
I have also tried .force_encoding("UTF-8") to no avail. For now I''m
simply trying to
2011 Jan 17
6
Can't install mongrel with ruby 1.9.2p136
Hi,
I''m getting this error message when I try to install Mongrel with "gem
install mongrel" on Windows 7 x64
gem install mongrel
Successfully installed mongrel-1.1.5-x86-mingw32
1 gem installed
Installing ri documentation for mongrel-1.2.0.pre2-x86-mingw32...
Installing EDoc documentation for mongrel-1.2.0.pre2-x86-mingw32...
ERROR: While executing gem...
2010 Nov 01
1
Encoding::UndefinedConversionError on a simple file upload (rvm, MRI-1.9.2-p0, rails 3.0.1, apache+passenger)
Hello everyone.
I am having the encoding issue on a simple file upload action:
Encoding::UndefinedConversionError in MainController#upload
"\xC4" from ASCII-8BIT to UTF-8
The action looks like this:
def upload
@uploaded_io = params[:upload]
File.open(Rails.root.join(''public'', ''images'',
@uploaded_io.original_filename), ''w'')
2012 Oct 09
0
[Win7 x64] Encoding::UndefinedConversionError after installing when using gem and rails
Hello,
after installing the RailsInstaller i got the following error:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`exist?'': "\x81" to UTF-8 in conversion from Windows-1252 to
UTF-8 (Encoding::UndefinedConversionError)
from
C:/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb:57:in
`default_path''
2011 Oct 10
2
nested attributes question
Hi,
I have a product that has many photos, so when creating a new product
the user can upload as many photos as they want. This all works fine
using nested attributes for. I want the user to be able to set one of
the photos as the default/primary photo, so i have played around with
using a radio button to decide which photo to select as the default
but i cant seem to figure out how to save this
2011 Jan 13
0
rails 3 Mail encoding issue
[Rails 3 - Ruby 1.9.2]
I have to get email attachments ( mp4 files ) and store them...
I get easily all parts using Mail ( .... <Content-Type: multipart/
mixed...."> )
attachment = mail.attachments[0]
#<Mail::Part:2206885940, Multipart: false, Headers: <Content-
Type: video/mp4; name=landscape.mp4>, <Content-Transfer-Encoding:
base64>,
2006 May 28
14
Lightbox and RJS
Hi,
I am trying to include lightbox functionality in my app, but there is
a slight complication. Apparently lightbox initializes all the links
to lightbox events on page load. However, in my case, some new links
to lightbox events will be rendered to the page through ajax events
(obviously this means after the page loads). So I figure I need to
find a way to call lightbox''s
2014 Nov 07
15
[Bug 86006] New: [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware acceleration
https://bugs.freedesktop.org/show_bug.cgi?id=86006
Bug ID: 86006
Summary: [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware
acceleration
Product: xorg
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks
something like:
if (page.select(''row1'').first != null)
page << "new TableRow.MoveAfter(''row1'', ''newrow'');"
else
page << "new TableRow.MoveAfter(''row2'', ''newrow'');"
end
Now, dumb question.. My
2011 Oct 01
6
Rails website start up time
My application is starting/loading very late when hit my website url
in the browser.
Can anybody give some tips to optimize it please.
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email
2010 Aug 25
4
Xen 4.0 - Support for Citrix WHQL-certified Windows PV drivers
Hi.
I have the same problem, which described in:
http://lists.xensource.com/archives/html/xen-users/2010-07/msg00241.html
I''m using Debian Squeeze (2.6.32-5-xen-amd64) in Dom0, Xen 4.0.1-rc6,
Windows 2008, 2003 x86_64 in domU
After installing drivers from
http://www.xen.org/files/XenCloud/Software/0.5/XCP-base-0.5.iso, system
stops on progress bar in normal boot, but ok in safe mode.
In
2006 Oct 18
3
[Bug] Seg Faulting in index.rb:718
Hey,
Ferret is repeatedly seg-faulting my mongrel servers on the same line:
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:718:
[BUG] Segmentation fault
ruby 1.8.5 (2006-08-25) [i686-linux]
I''m using ferret 0.10.11. I haven''t had the time to dig into yet, it''s
on the backburner right now - I just keep several spare servers and
restart them
2019 Jan 15
2
Proposal for an alternative bugtracking workflow
The script queries **all** issues with specified labels and "notifies" on
each of those.
While this approach works, I doubt it would scale well if everyone is doing
this by hand. OTOH, building a service that does this for everyone might be
feasible, albeit non-trivial and it's not clear who should own this.
So overall having this supported by GitHub would mean a much better UX...
2017 Oct 30
2
packed ring layout proposal v3
On Sun, Oct 29, 2017 at 02:34:56PM +0000, Ilya Lesokhin wrote:
> > -----Original Message-----
> > From: Michael S. Tsirkin [mailto:mst at redhat.com]
> > Sent: Sunday, October 29, 2017 4:22 PM
> > To: Ilya Lesokhin <ilyal at mellanox.com>
> > Cc: virtio-dev at lists.oasis-open.org; virtualization at lists.linux-foundation.org
> > Subject: Re: packed ring
2017 Oct 30
2
packed ring layout proposal v3
On Sun, Oct 29, 2017 at 02:34:56PM +0000, Ilya Lesokhin wrote:
> > -----Original Message-----
> > From: Michael S. Tsirkin [mailto:mst at redhat.com]
> > Sent: Sunday, October 29, 2017 4:22 PM
> > To: Ilya Lesokhin <ilyal at mellanox.com>
> > Cc: virtio-dev at lists.oasis-open.org; virtualization at lists.linux-foundation.org
> > Subject: Re: packed ring
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey,
Has anyone managed to bypass or fix the ferret''s .dump method problem?
When I include acts_as_ferret my whole rails app just blows up because
of Ferret''s .dump method. Ex:
---
print "\t hello".dump >> "\t hello">Exit code: 0
---
---
require ''ferret''
print "\t hello".dump >> " hello"(NUL