similar to: encoding: utf8 in database.yml causes error

Displaying 20 results from an estimated 200 matches similar to: "encoding: utf8 in database.yml causes error"

2008 Feb 12
1
create with virt-install hangs
Hi I am just starting with xen and trying to get a few vm''s running on this pentium 4 system. I tried using virt-install to start things. I am using this link as the install base: ftp://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/ , and a local file as hard drive. What happens is that virt-install downloads the kernel, boots, a VNC window for the new VM appears, but it
2006 Mar 03
0
error running generate scaffold - doesn''t see table which is there
Hi I''m trying to get some basic stuff working from the "Agile Web Dev with ROR" book - chapter 6 "Create the Maintenance App". (On linux, mysql 4.1, ruby 1.8.4) I have the depot_development db created, and teh "products" table definitely exists. The user name and pw are correct in database.yml But I get this: <snip> daniel@roomatthetop:~/work/demo$
2006 Mar 28
2
Typo 2.6.0 broken with Rails 1.1
Updated today, got Typo 2.6.0 broken with Rails 1.1 (Ruby 1.8.4) -- WEBrick does not start. Is there any workaround except "svn co" with Typo trunk? -- Yaroslav Markin yaroslav at markin dot net
2006 Mar 21
4
activerecord - mysql blobs...
I''m struggling with activerecord and mysql blobs (uploading files)... blobs over 400K-ish cause the below exception... ActiveRecord::StatementInvalid in File#upload Mysql::Error: Lost connection to MySQL server during query: I''ve tried blob, mediumblob, and longblob... I''m using windows xp for development - and have not installed the mysql gem... simlar google
2006 Mar 28
5
Your RoR 1.1 Adoption Prediction?
What is the likelyhood that major inexpensive webhosts like godaddy, bluehost, etc. will upgrade to RoR 1.1? Is this going to be like PHP 5 where it has to percolate for a year or more before it becomes widly available? Your thoughts? Along the same lines... is it possible to adopt some of the new improved Ajax / javascript capabilities without actually upgrading the ruby installation?
2005 Dec 23
8
webrick / winxp won''t stop serving cached file??
Hi Working through the tut material in teh PP book (agile dev with rails) on a laptop running winxp. Creating the "admin" application, things generally work great. Except: at teh end of chapter 6, when we update teh css to improve the look of the page - I copy the new scaffold.css into my working directory, but webrick keeps serving the old css, even after a restart. Very odd. The
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a "celebratory illustrated tutorial" on how to use the Eclipse update function to do the upgrade from within Eclipse (I found the process a tad confusing): http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails saludos, Victor Kane awebfactory.com.ar -------------- next part -------------- An HTML
2006 Mar 30
10
Problems upgrading to Rails 1.1
Hi All, I just tried to upgrade to Rails 1.1 on my Linux server and had the following issue when running the second part of the upgrade. [root@localhost ~]# rake rails:update rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1635:in `load_rakefile'' (See full trace by running task with
2006 Mar 30
13
need an Ruby on Rails IDE
Hello everybody, I''m a new member on Ruby on Rails. I''m friendly on using Microsoft Visual Studio (VS) IDE. The VS IDE supports for Intellisense coding (that mean it will automatically display a list of member variables or functions for a class, struct, union, or namespace; the names and types of parameters required by a function or attribute; and the complete declaration for
2006 Sep 24
8
form_for and Multiple Models Being Saved
Howdy Folks, I want to use form_for to allow a user to submit a form that contains two instances of the same model. They are entering calendar dates and I want them to be able to submit 2 from the same form. Ok, so, using form_for, what is the best way to do this? form_for seems to be setup to handle a single instance in that it wants a name for the variable, etc... Has someone else done this?
2006 Mar 13
3
Translate to one language: Globalize is overkill?
Hi, I am developing a Rails application which should be in ONE language (not English). Globalize seems overkill for this purpose (do you agree?). So I''m trying some of the approaches on the wiki. In particular: http://wiki.rubyonrails.org/rails/pages/OverridingRailsMessagesInAnotherLanguage This *does* override the month names, but does *not* override the error messages. I''m
2006 Feb 27
2
Read IMAP
Hello, I have a question about IMAP : I want read a IMAP mailbox in my application. I have found 2 pages about this : http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203 http://www.codefetch.com/search?qy=login&lang=ruby But, Rails don''t want use ''net/imap''. So I can''t =( Thank you for your help pmt -- Posted via
2006 Mar 19
38
Macbook for Rails Development
Hi All, I''ve finally got fed up of struggling with Windows and am on the verge of splashing out on a Macbook for Ruby/Rails development. I''ve seen DHH''s post about it on loudthinking but I wondered if anyone else has any more wisdom... Is it worth it over a powerbook? Any tips on good OSX apps for Rails dev (textmate, i know already)? Anything not working well on
2013 Jul 12
1
[LLVMdev] Break in loop expression-3
Hello everyone. I've noticed the difference in gcc and llvm behaviour with the following code: $ cat test.c #include <stdio.h> int main() { for(int i = 0;; ({break;})) printf("Hello, world\n"); } $ clang test.c -pedantic && ./a.out test.c:5:22: warning: use of GNU statement expression extension [-Wgnu] for(int i = 0;; ({break;}))
2006 Feb 20
18
Win XP/ Mysql Problem
I''ve searched everywher for an answer to my problem, and the only thing I''ve found is people with the same problem. I''m hoping someone has an answer here: I''m working through the agile web developement with rails book and when I goto scaffold the products table I get the following message. exists app/controllers/ exists app/helpers/ exists
2007 Mar 02
8
DNAT and Load Balancing
Hi all! After that good thread "DGD patch not detecting dead gateway" I was able to set up a Load Balancing with ping based DGD (without Julian Anastasov patch). But now I''m facing a new problem and tried some options, with only partial solutions. I made a script based on http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg16257.html (Thank you Manish Kathuria),
2006 Oct 16
3
backgroundrb.yml not generated
I''m trying to do the tutorial at http://www.infoq.com/articles/BackgrounDRb. A little more than half-way through it says "Upon instalation, the plugin writes a config file into RAILS_ROOT/config/backgroundrb.yml." It didn''t happen for me. I installed the plugin with: ruby script\plugin install svn:\\rubyforge.org//var/svn/backgroundrb It added a bunch of files,
2006 Jul 25
1
mysql cluster database.yml setup
im trying to deploy my app on our staging server and am running into an issue. we have a MySQL NDB cluster for the staging box. this basically means that the staging box should be able to use MySQL via localhost and it will automatically know it''s in a cluster. When running queries, it will go out to the real DB boxes instead of localhost to fetch the data. AFAIK, the clustering setup
2006 May 19
1
database.yml and encoding: utf8 -> mysql error
I have Rails 1.1, MySql 5.0 and would like to stor text as utf8 in the db. I have changed the character set and collation in the db to utf8 and utf8_danish_ci - also checked the mysql to if its ok: show collations like "%danish%"; utf8_danish_ci utf8 203 Yes 8 I then add the following environment.rb: $KCODE = ''u'' require ''jcode'' och database.yml
2006 Apr 26
3
problem with database.yml moving from 0.13.0 to 0.14.4
Hi, I''m upgrading from 0.13.0 to 0.14.4, and I''m having trouble with my database authentication. Even though the entries in my database.yml are correct, I get the following message when trying to do a ruby script/generate scaffold myClass... Access denied for user: ''@localhost to database '''' Why is the username and database name showing up as