similar to: Newbie problem - unexpected MySQL error

Displaying 20 results from an estimated 80000 matches similar to: "Newbie problem - unexpected MySQL error"

2005 Nov 16
4
What happened to mysql connection?
I''ve been using Rails for more than six months and until today I had no problem with mysql connection. It''s a Mac OS X 10.4 box having rails installed and updated by gem. I use a remote mysql server no local instance installed. Here''s my config: development: adapter: mysql database: hdchat host: 10.0.0.1 username: webuser password: test: adapter:
2005 Jan 29
6
Newbie: Unable to run new controller.
I''m only just learning to use Rails, but this seems like something very out of my control. I used GEM to download and install Rails, then created a new application and a controller and started the WEBrick server. When I try to access the new controller "Test" using http://localhost:3000/test/ I get a "Not Found" error and a great deal of output from the server
2005 Nov 30
7
newbie: Getting started on Windows XP & MAc OSX 10.4
Hello, What installs do you recommend for Windows XP and MAc OSX 10.4? I want to setup Rails as easy as I can. Thanks Frank -- Posted via http://www.ruby-forum.com/.
2006 Feb 03
2
Scriptaculous: Newbie question - Effect.fade
Hi there, Is it possible to do an effect.fade without removing the hidden document from the flow when in becomes invisible? I have a line of images (initially all invisible) [] [] [] [] [] And a list of links - link 1 - link 2 - link 3 - link 4 - link 5 And what I want to happen is to have the images appear on link mouseover and disappear on mouseout but for the images to maintain their
2005 Dec 14
4
newbie q: Form element focus
This is probably a dumb question, but is there an easy way to set the focus of a form to the first visible/editable element? I''ve been googling lots and searching documentation and haven''t come up with anything. Help would be appreciated. -- Posted via http://www.ruby-forum.com/.
2005 Dec 30
2
newbie
Hello There I new to rails development and looking to write a simple site using rails. Does any one know of and example ecommerce application that that I can use as a base to build from. My db schema is very simple--product, categories, orders and order_item tables. Any suggestions will be highly appreciate. Thanks Pat
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups, thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2006 May 24
2
newbie oo question
Hey everyone, I''m trying to create an object that will have some properties predefined, but will allow me to pass in properties to override those standard props if needed. I''m trying something like: var myObject = Class.create(); myObject.prototype = { initialize: function(element, options) { this.element = $(element); this.name = this.element.id; this.options =
2006 May 04
5
How to insert styles with Insertion
Hi, I''m having difficulty using Prototype''s Insertion method to insert styles into a document node. Code like this seems to fail: new Insertion.Top(widgets[i], ''<style type="text/css"></style>''); When I inspect the DOM, the style is nowhere to be found. Any ideas on how to get this to work? Thank you, Jeff Rankin Human Factors 544-4333
2005 Sep 25
7
(newbie) Missing Template Error using Rolling With Rails Tutorials
Hi all, New to the list, Ruby, & RoR. I''ve been going through the Rolling With Rails tutorial, but am getting the following error when the instructions tell you to add the @recipes = Recipe.find_all line to the RecipeController: Template is missing Missing template ./script/../config/..//app/views//recipe/index.rhtml The index.rhtml file is right where it''s supposed to
2005 Dec 16
4
Newbie Q: Controllers and lookup tables - when to initialise
Howdy Gang, in a major controller that has many methods using the same lookup tables for option choices and such, what is the life expectancy of the list instances. Is it useful to set these up in the controller initialize method - or is that utterly dumb? Cheers, Eric
2005 Dec 22
4
advice on MySQL version
I am going to start a project from scratch with MySQL. Is it a good idea to go ahead with MySQL 5? Is there any gotcha with that version as of today? -- fxn "We all agree on the necessity of compromise. We just can''t agree on when it''s necessary to compromise." -- Larry Wall in comp.lang.perl
2005 Dec 16
11
mysql mem-tables vs. memcached
Could someone please elaborate on the technical differences and practical impact of whether choosing memory-based tables in MySQL or using memcached. I got this far on my own: It seems that MySQL uses the NDB engine for transaction-safe memory access in a cluster. the memory storage engine seems to be faster but not synchronizable by any means in a cluster. memcached seems to be ultimately fast
2005 Sep 15
9
(newbie) rails app not working after subversion integration?
hello, if anybody could please help, I''m very late with this project and have been wasting a lot of time (days and days) getting past the learning curve to get the infrastructure up (fcgi, rmagick... and now svn integration). i come from dirty-php-scripting and am a newbie at all of this :P I have a rails app that I''ve been developing locally on os x. originally I
2005 Dec 19
5
using a local MS SQL Server
I would appreciate any tips/clues/advice very much. I have started using ruby on rails and when the MS SQL Server database is on a different box than my dev box (where the RoR app is located) I can connect fine. However when I try to connect to a MS SQL Server database on the same box as my RoR app I get an error. I have tried to use the IP address of the dev box as the value of
2005 Dec 20
7
wrong id for activerecord object when using :joins in mysql
I''m using a find with a :joins clause, like this: :joins => "JOIN table_b ON table_b.id=table_b_id" The records returned are used in a scaffold generated list page. The edit, show, and destroy links are getting the wrong id. They are getting the id of the table b record. When I run the query using mysql, I see that the query returns *2* id columns, the id of the main
2005 Jan 07
3
ruby on cygwin and mysql - problem connecting to db
Hi, I''m trying my hand at rails by working through the tutorial. I''m stuck on getting the rails app, running on webrick, to talk to mysql. I''m getting the "No such file or directory - /tmp/mysql.sock" message that I''ve seen that others sometimes encounter. Here''s my environment: Win2k w/ cygwin installed at c:\cygwin ruby installed via
2005 Dec 12
4
Rails crashes over night?
I''m running Ruby on Rails on Fedora Core 4 with lighttpd and fastcgi. I also used the login generator (don''t know if relevant). I have the following problem: At day time I work on the server and create/modify ruby files on the server, all pages work fine. Than the next day I want to open de server I get the error at the end of this message (on all pages, including non protected).
2005 Jul 15
3
rails don't support mysql-5.0?
hello all, while I''m upgrading mysql from 4.0 to 5.0, rails complain "Client does not support authentication protocol requested by server; consider upgrading MySQL client" any idea about it?
2005 Jun 29
4
Problem connecting to MySQL
Hello, when I invoke an action of my rails web app I recieve this message: No such file or directory - /tmp/mysql.sock In my MySQL config file I have this line: socket=/var/lib/mysql/mysql.sock Why Rails doesn''t pick up this value instead of his default value? How could I change the configuration of Rails in order to change that value? -- / Eduardo Yáñez Parareda /