Displaying 20 results from an estimated 900 matches similar to: "database.yml and encoding: utf8 -> mysql error"
2005 Dec 09
1
utf-8 BIG problems
hey,
------------------
i have change my db to utf8-general-ci, now all the characters are correct in
the database, i need this for exporting to pdf en excel. now i can also import
from csv, characters like éàï....
But the display is then fucked up. i get wierd symbols
-------------------
Another situation:
I have seen a post here to add to environment.rb:
$KCODE = ''UTF8''
2007 Jan 18
4
Problem with encoding - characters such as öäü
Hi
I''m trying to use german characters on a ruby on rails application, but
for get ? on dropwdown menus. The database, tables and fields are
encoded utf8_general_ci. I have this in my application controller:
class ApplicationController < ActionController::Base
before_filter :set_charset
before_filter :configure_charsets
def set_charset
@headers["Content-Type"] =
2006 Mar 05
1
encoding: utf8 in database.yml causes error
Hi
Using ruby 1.8, rails 1.0, mysql 4.1.11
in database.yml:
adapter: mysql
encoding: utf8
database: myproject_development
username: user
password: password
socket: /var/run/mysqld/mysqld.sock
but when I start the error I get:
Can''t initialize character set utf8 (path: /usr/share/libmysqlclient/charsets/)
Can anyone tell me what file it''s looking for, and how I
2006 Mar 02
2
Different Collation (utf8_slovak_ci, utf8_danish_ci, latin1_german1_ci) etc.
One issue left for me to figure out is that in different languages there are
different characters and Xapian takes only english characters.
Thefore many word entered by users that contains their own language special
characters will not return any result. MySQL offers different collations ...
Now when I see how much data Xapian can search perhaps I could expand my
index spider different European
2006 May 05
4
STI and HABTM
Hey gang,
How does STI work with HABTM?
For instance...let''s say I have the following models
-----
Category < ActiveRecord::Base
Item < ActiveRecord::Base
Product < Item
Deal < Item
-----
Each product or deal can have categories. Would I then setup Item with
has_and_belongs_to_many :categories, then create a table categories_items
??? Is there a better way to do it?
2006 Aug 12
5
Rmagick not handling GIF files properly...
Tracked down the source of my problem...
It seems that Rmagick isn''t properly cropping/resizing GIF or PNG images
when uploaded via file_column. I can upload JPG files just fine.
Originally I had installed ImageMagick via Debian''s apt-get and built the
rmagick gem using "gem install rmagick". This wasn''t working so I
uninstalled ImageMagick and tried to
2006 Apr 09
2
Substruct v0.6
I just put the finishing touches on Substruct v0.06. As always, you can
check out a demo over at http://substruct.subimage.com/
What''s new?
Version 0.6
---------------------------------------
Added:
- Tagging for products
- Maintenance of product tags
- Automatic image thumbnail / small size creation via RMagick
Updated:
- Better shopping cart experience with AJAX cart
2006 Aug 09
3
file_column and versions acting up...about to spit blood and kill people. please help.
Hey railsers...anyone run into this problem?
I''m developing an app which I''m deploying with Capistrano. That being said,
I''ve stuck all the file_column goodies in public/system/...
During my deployment script I chmod -R that directory and everything in it
to make sure www-data (the apache user/group) has access to it.
In development mode on my Macbook I can upload
2006 Mar 16
10
Substruct Open Source E-Commerce Platform
Finally it''s here :)
The Rails app to do battle with the likes of Miva Merchant and OS Commerce!
I''m releasing Substruct 0.051 into the wild.
More information here:
http://dev.subimage.com/projects/substruct
Please check it out! I''d love to hear all of your thoughts - and I''m looking
for contributors!
--
seth at subimage interactive
2006 Jan 20
3
Anyone running a business hosting plan @ textdrive?
I currently run a handfull of sites on a MediaTemple VPS - which is blazing
fast and very cheap for what I get. BUT installing rails and mysql v4 was a
major pain in my ass, along with other things.
I''m considering switching to a Textdrive business hosting plan but wanted to
get some feedback from list members first.
I pay about $200 a month quarterly for my MediaTemple service.
2006 Jun 22
3
Importing images with file_column over http?
I haven''t cracked the source of file_column just yet - but has anyone worked
out a way to snag images via URL instead of a file upload?
Optimally I''d like to have my clients be able to upload a file, or enter in
a URL to store as file on the system.
Any/all help would be cool.
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part
2006 Feb 19
16
Open source rails e-commerce engine?
I''m pinging the list to see if anyone is working on an open-source
e-commerce engine based on Rails yet - something like OSCommerice I guess.
Anyone? Is there interest out there for such a thing?
I have such a product which has been extracted from real world code. It
currently runs 3 production rails sites in various shapes and forms,
implemented as a rails engine.
Basic feature list:
-
2006 May 22
3
STI, HABTM & counter_cache
Hello world...
I have an interesting issue that the online docs aren''t helping me with.
In my app I have 4 models
Item < ActiveRecord
Deal < Item
Product < Item
Category < ActiveRecord
Item has_and_belongs_to_many :categories...
On each category record I''d like to maintain a product_count and deal_count
to increase performance. This doesn''t appear
2006 Apr 14
7
Support for Comet?
So someone finally named server-push through HTTP-keepalive "Comet"
It''s also been implemented in a very nice Java/Javascript library called
DWR.
http://ajaxian.com/archives/dwr-20-reverse-ajax
Has there been any discussion by "the core" about adding this to Rails 1.2?
:)
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part
2006 Apr 11
8
Ruby 1.8.4, Rails 1.1 and Rmagick?
Someone mentioned that Rmagick doesn''t work properly on this setup (Ruby
1.8.4, Rails 1.1)
Is this true?
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060411/432e8113/attachment.html
2007 Apr 03
3
Mongrels dying on FreeBSD 5.5-STABLE......why why why?
Yo Zed and everyone else, I''m having a major problem I''m hoping someone can
help with.
I''ve been running mongrel clusters for a few months with no problems on a
couple of my boxes. They both run Debian...
I recently moved one of my older Rails apps on a FreeBSD 5.5 box to mongrel
as well. Everything runs quickly and wonderfully - when it''s running! My
problem
2006 May 29
1
Substruct 0.7 now here!!!
I''ve just pushed the latest version of Substruct, everyone''s favorite
CMS/E-commerce project out the door.
http://dev.subimage.com/projects/substruct/ is the home page if you''re
unfamiliar with it.
The release is available here:
http://subimage.com/files/substruct-0.7.tar.gz
And install instructions here:
2006 Jun 28
5
Funky character display in rails / mysql
I''m getting complaints from one of my customers that characters in their
text are getting mangled. This happens when they paste data into my
textboxes in rails from MS word in particluar.
Quotes are turning into question marks, etc.
Anyone have a fix / workaround for this?
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML
2006 Apr 10
1
Substruct e-commerce platform 0.61 RELEASE
After some thought and discussion, and some bugfixing I now present you
with Substruct v0.61
Let me know how you all take the changes.
show_by_tags is greatly improved, now allowing for friendly urls.
Version 0.61
---------------------------------------
Updated:
- New routes.rb file - you need to copy this into your config
directory!
This supports the new store show_by_tags with multiple
2006 May 28
9
Railsmanual.org
Did anyone else catch the redesign? I don''t know who''s responsible, but it''s
lookin better!
Good job...
--
seth at subimage interactive
http://www.subimage.com/sublog/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060528/f9f92618/attachment.html